Mercurial > octave-nkf
view test/class-concat/class-concat.tst @ 20622:128414587af2
don't print additional error message in argument list evaluation
* pt-arg-list.cc (tree_argument_list::convert_to_const_vector):
Don't call error for for failed argument evaluation.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 09 Oct 2015 16:52:49 -0400 |
parents | 1af8d21608b7 |
children |
line wrap: on
line source
%!test %! f = foo (); %! x = [f,f]; %! assert (size (x), [1, 2]) %! assert (class (x), "foo") %!test %! f = foo (); %! x = [f,f]; %! tmp = num2cell (x); %! assert (iscell (tmp)) %! assert (size (tmp), [1, 2]) %! assert (class (tmp{1}), "foo") %! assert (class (tmp{2}), "foo")