Mercurial > octave
changeset 28730:f8e925ded48f
update expected test output for mustBe* functionsb
* mustBeGreaterThan.m, mustBeGreaterThanOrEqual.m, mustBeLessThan.m,
mustBeLessThanOrEqual.m, mustBeMember.m: Update expected output for
tests that check for too many function inputs.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 12 Sep 2020 19:56:53 -0400 |
parents | f8917a743f00 |
children | 4f1e8a79bd44 |
files | scripts/miscellaneous/mustBeGreaterThan.m scripts/miscellaneous/mustBeGreaterThanOrEqual.m scripts/miscellaneous/mustBeLessThan.m scripts/miscellaneous/mustBeLessThanOrEqual.m scripts/miscellaneous/mustBeMember.m |
diffstat | 5 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/mustBeGreaterThan.m Sat Sep 12 13:50:24 2020 -0700 +++ b/scripts/miscellaneous/mustBeGreaterThan.m Sat Sep 12 19:56:53 2020 -0400 @@ -67,7 +67,7 @@ %!error <Invalid call> mustBeGreaterThan () %!error <Invalid call> mustBeGreaterThan (1) -%!error <Invalid call> mustBeGreaterThan (1,2,3) +%!error <called with too many inputs> mustBeGreaterThan (1, 2, 3) %!error <input must be greater than 42> mustBeGreaterThan (42, 42) %!error <found 1 elements that were not> mustBeGreaterThan (Inf, Inf) %!error <must be greater than 0> mustBeGreaterThan (NaN, 0)
--- a/scripts/miscellaneous/mustBeGreaterThanOrEqual.m Sat Sep 12 13:50:24 2020 -0700 +++ b/scripts/miscellaneous/mustBeGreaterThanOrEqual.m Sat Sep 12 19:56:53 2020 -0400 @@ -69,6 +69,6 @@ %!error <Invalid call> mustBeGreaterThanOrEqual () %!error <Invalid call> mustBeGreaterThanOrEqual (1) -%!error <Invalid call> mustBeGreaterThanOrEqual (1,2,3) +%!error <called with too many inputs> mustBeGreaterThanOrEqual (1, 2, 3) %!error <must be greater than or equal to 2> mustBeGreaterThanOrEqual (1, 2) %!error <must be greater than or equal to 0> mustBeGreaterThanOrEqual (NaN, 0)
--- a/scripts/miscellaneous/mustBeLessThan.m Sat Sep 12 13:50:24 2020 -0700 +++ b/scripts/miscellaneous/mustBeLessThan.m Sat Sep 12 19:56:53 2020 -0400 @@ -69,7 +69,7 @@ %!error <Invalid call> mustBeLessThan () %!error <Invalid call> mustBeLessThan (1) -%!error <Invalid call> mustBeLessThan (1,2,3) +%!error <called with too many inputs> mustBeLessThan (1, 2, 3) %!error <must be less than 0> mustBeLessThan (1, 0) %!error <must be less than 1> mustBeLessThan (1, 1) %!error <must be less than Inf> mustBeLessThan (Inf, Inf)
--- a/scripts/miscellaneous/mustBeLessThanOrEqual.m Sat Sep 12 13:50:24 2020 -0700 +++ b/scripts/miscellaneous/mustBeLessThanOrEqual.m Sat Sep 12 19:56:53 2020 -0400 @@ -72,5 +72,5 @@ %!error <Invalid call> mustBeLessThanOrEqual () %!error <Invalid call> mustBeLessThanOrEqual (1) -%!error <Invalid call> mustBeLessThanOrEqual (1,2,3) +%!error <called with too many inputs> mustBeLessThanOrEqual (1, 2, 3) %!error <must be less than or equal to 0> mustBeLessThanOrEqual (1, 0)
--- a/scripts/miscellaneous/mustBeMember.m Sat Sep 12 13:50:24 2020 -0700 +++ b/scripts/miscellaneous/mustBeMember.m Sat Sep 12 19:56:53 2020 -0400 @@ -70,6 +70,6 @@ %!error <Invalid call> mustBeMember () %!error <Invalid call> mustBeMember (1) -%!error <Invalid call> mustBeMember (1,2,3) +%!error <called with too many inputs> mustBeMember (1, 2, 3) %!error <found 1 elements> mustBeMember ([1, 42], 1:5) %!error <found 1 elements> mustBeMember ("nope", {"foo", "bar", "baz"})