Mercurial > octave
changeset 20775:cd50ce72fa24
parser.tst: Add test for resolved bug #46534.
* parser.tst: Add test for resolved bug #46534.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 29 Nov 2015 09:31:32 -0800 |
parents | 5c5e085a1ae6 |
children | 38968777601b |
files | test/parser.tst |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/parser.tst Sun Nov 29 00:01:21 2015 +0100 +++ b/test/parser.tst Sun Nov 29 09:31:32 2015 -0800 @@ -316,3 +316,7 @@ %! a = {1, @sin, 2, @cos}; %! b = {1 @sin 2 @cos}; %! assert (a, b) + +## Maybe unnecessary, but check that further changes to parser don't +## invalidate error handling (bug #46534). +#!error <vertical dimensions mismatch \(1x2 vs 1x1\)> z = [1, 2; 3]