Mercurial > hg > octave-lyh
changeset 17215:8b64a1fc3071
test: Correct typo '%error' -> '%!error' to have test blocks run.
* scripts/general/quadgk.m: Correct typo '%error' -> '%!error'.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 08 Aug 2013 12:35:52 -0700 |
parents | ea5830dc6b19 |
children | 2527bc7200ee |
files | scripts/general/quadgk.m |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/quadgk.m +++ b/scripts/general/quadgk.m @@ -454,6 +454,6 @@ %!assert (quadgk (@(x) exp (-x .^ 2),-Inf,Inf), sqrt (pi), 1e-6) %!assert (quadgk (@(x) exp (-x .^ 2),-Inf,0), sqrt (pi)/2, 1e-6) -%error (quadgk (@sin)) -%error (quadgk (@sin, -pi)) -%error (quadgk (@sin, -pi, pi, "DummyArg")) +%!error (quadgk (@sin)) +%!error (quadgk (@sin, -pi)) +%!error (quadgk (@sin, -pi, pi, "DummyArg"))