Mercurial > octave
comparison test/struct.tst @ 32068:13362cd35b72
Suppress unexpected warning messages when running .tst files in test/ dir (bug #64123)
* bug-53579.tst: Temporarily disable 'Octave:global-local-conflict' warning.
* leftdiv.tst: Change 4 %!assert tests to %!warning tests looking for
'Octave:singular-matrix' warning.
* parser.tst: Temporarily disable 'Octave:colon-nonscalar-argument' warning.
* range.tst: Temporarily disable 'Octave:colon-complex-argument' warning.
* struct.tst: Temporarily disable 'Octave:empty-index' warning.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 30 Apr 2023 15:44:32 -0700 |
parents | 597f3ee61a48 |
children | 2e484f9f1f18 |
comparison
equal
deleted
inserted
replaced
32067:b16940405077 | 32068:13362cd35b72 |
---|---|
245 %!test <*51633> | 245 %!test <*51633> |
246 %! x.a = 1:10; | 246 %! x.a = 1:10; |
247 %! y = x; | 247 %! y = x; |
248 %! assert (! isempty (y)); | 248 %! assert (! isempty (y)); |
249 %! assert (y, x); | 249 %! assert (y, x); |
250 %! warning ('off', 'Octave:empty-index', 'local'); | |
250 %! z = x(); | 251 %! z = x(); |
251 %! assert (! isempty (z)); | 252 %! assert (! isempty (z)); |
252 %! assert (z, x); | 253 %! assert (z, x); |
253 %! assert (z, y); | 254 %! assert (z, y); |
254 | 255 |