diff options
Diffstat (limited to 'inst/misc/test/stk_test.m')
-rw-r--r-- | inst/misc/test/stk_test.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inst/misc/test/stk_test.m b/inst/misc/test/stk_test.m index f6375db..5cf834a 100644 --- a/inst/misc/test/stk_test.m +++ b/inst/misc/test/stk_test.m @@ -177,7 +177,7 @@ if (iscell (x__file)) end end if (isempty (x__file)) - if (exist (x__name) == 3) + if (exist (x__name) == 3) %#ok<EXIST> fprintf (x__fid, '%s%s source code with tests for dynamically linked function not found\n', SIGNAL_EMPTY, x__name); else fprintf (x__fid, '%s%s does not exist in path\n', SIGNAL_EMPTY, x__name); @@ -605,8 +605,8 @@ end % function function body = x__extract_test_code (nm) fid = fopen (nm, 'rt'); -if fid == -1, - error(sprintf('File %s cannot be opened.', nm)); +if fid == -1 + error ( sprintf ('File %s cannot be opened.', nm)); %#ok<SPERR> end body = ''; |