]> gitweb.michael.orlitzky.com - octave.git/blob - unit_test/errcheck.m
Move all of the tests into a subdirectory.
[octave.git] / unit_test / errcheck.m
1 function e = errcheck(error_prefix)
2 e = 1;
3 if (index(__error_text__, error_prefix) != 1)
4 e = 0;
5 printf("\nUNEXPECTED ERROR: %s", __error_text__);
6 endif
7 end