# HG changeset patch # User Rik # Date 1709416939 28800 # Node ID 2ff2d201a3444b15450c81378df5e71cd25d4b02 # Parent fc467370dacbae4a1dc1994490f842bcfb18d1ba test: Include tests for output message in scanf function (bug #65390, bug #63467). * io.tst: Uncomment out assert statements and enforce test coverage. diff -r fc467370dacb -r 2ff2d201a344 test/io.tst --- a/test/io.tst Sat Mar 02 13:58:51 2024 -0800 +++ b/test/io.tst Sat Mar 02 14:02:19 2024 -0800 @@ -671,8 +671,7 @@ %! [val, count, msg, pos] = sscanf ('1 2 ', '%f'); %! assert (val, [1; 2]); %! assert (count, 2); -%! ## FIXME: The message should be empty, but is not. -%! # assert (msg, ''); +%! assert (msg, ''); %! assert (pos, 5); ## Test newline at end of input string @@ -680,8 +679,7 @@ %! [val, count, msg, pos] = sscanf ("1 2\n", '%f'); %! assert (val, [1; 2]); %! assert (count, 2); -%! ## FIXME: The message should be empty, but is not. -%! # assert (msg, ''); +%! assert (msg, ''); %! assert (pos, 5); %!test