deprecating old assertion code from arrow
removed all references to assert