Mercurial > hg > octave-nkf
changeset 20144:2d5cbb6ac845
fail.m: Use internal variable name in BIST test (bug #44525).
* fail.m: Rename variable 'a' to '__a__' in case there is an a.m m-file.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 12 Mar 2015 15:00:32 -0700 |
parents | f0e5c6742716 |
children | 29fe196d2ce0 |
files | scripts/testfun/fail.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/testfun/fail.m +++ b/scripts/testfun/fail.m @@ -146,8 +146,8 @@ ## Test that fail() itself will generate an error %!error <expected error> fail ("1") -%!error <'a' undefined> fail ("a*[2;3]", "nonconformant") -%!error <expected error .usage:> fail ("a*[2,3]", "usage:") +%!error <'__a__' undefined> fail ("__a__*[2;3]", "nonconformant") +%!error <expected error .usage:> fail ("__a__*[2,3]", "usage:") %!error <warning failure> fail ("warning ('warning failure')", "warning", "success") ## Test input validation