Mercurial > hg > octave-lyh
changeset 14521:3b19a952ab54
test: remove obsolete warning test for linspace.
data.cc: delete test that depended on array-to-vector warning being on.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 03 Apr 2012 20:44:05 -0700 |
parents | c4ed0fdf2b62 |
children | f739e30494c8 |
files | src/data.cc |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/data.cc +++ b/src/data.cc @@ -4719,9 +4719,7 @@ %! assert (size (x2) == [1, 10] && x2(1) == 1 && x2(10) == 2); %! assert (size (x3) == [1, 10] && x3(1) == 1 && x3(10) == -2); -%#assert (linspace ([1, 2; 3, 4], 5, 6), linspace (1, 5, 6)) - -%!fail ("linspace ([1, 2; 3, 4], 5, 6)", "warning") +%assert (linspace ([1, 2; 3, 4], 5, 6), linspace (1, 5, 6)) %!error linspace () %!error linspace (1, 2, 3, 4)