Mercurial > octave
changeset 30649:744778e9210b
datevec.m: Tweak BIST test in c7a515aa767e.
* datevec.m: Tweak BIST test to correctly test issue.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 14 Jan 2022 12:23:29 -0800 |
parents | c7a515aa767e |
children | e10e9057a302 |
files | scripts/time/datevec.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/time/datevec.m Fri Jan 14 11:08:44 2022 -0800 +++ b/scripts/time/datevec.m Fri Jan 14 12:23:29 2022 -0800 @@ -470,6 +470,6 @@ %!error <multiple second specifiers> datevec ("15:38:21.251", "HH:SS:SS") %!fail ("datevec ('2015-03-31 0:00','YYYY-mm-DD HH:MM')", ... %! "warning", "Format specifiers for dates should be lower case"); -%!fail ("datevec ('2015-03-31 0:00','yyyy-mm-dd hh:mm')", ... -%! "warning", "Format specifiers for time should be upper case"); +%!fail ("datevec ('2015-03-31 hh:00','yyyy-mm-dd hh:MM')", ... +%! "warning", "format specifiers for time should be upper case");