Mercurial > hg > octave-nkf
diff scripts/testfun/runtests.m @ 20072:e9f89866074c
maint: Cleanup some .m files to follow Octave coding conventions.
* accumarray.m, validateattributes.m, iscolormap.m, __imread__.m,
__imwrite__.m, imwrite_filename.m, strread.m, getappdata.m,
appearance/annotation.m, shrinkfaces.m, rundemos.m, runtests.m,
datenum.m, datestr.m: Break long lines before && and ||.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 26 Feb 2015 13:13:40 -0500 |
parents | 4197fc428c7d |
children | 2645f9ef8c88 |
line wrap: on
line diff
--- a/scripts/testfun/runtests.m +++ b/scripts/testfun/runtests.m @@ -69,8 +69,8 @@ fflush (stdout); for i = 1:numel (flist) f = flist{i}; - if ((length (f) > 2 && strcmpi (f((end-1):end), ".m")) || - (length (f) > 3 && strcmpi (f((end-2):end), ".cc"))) + if ((length (f) > 2 && strcmpi (f((end-1):end), ".m")) + || (length (f) > 3 && strcmpi (f((end-2):end), ".cc"))) ff = fullfile (directory, f); if (has_tests (ff)) print_test_file_name (f);