diff libinterp/corefcn/dirfns.cc @ 28894:61bdb3e2f6a1

maint: Use coding style with parentheses after function name in libinterp. * dirfns.cc, graphics.cc: Use coding style with parentheses after function name in Octave code in BIST tests embedded in C++ code..
author Rik <rik@octave.org>
date Sat, 10 Oct 2020 20:06:12 -0700
parents 4e64416772f1
children ef2b0a00daef
line wrap: on
line diff
--- a/libinterp/corefcn/dirfns.cc	Sat Oct 10 17:59:23 2020 -0700
+++ b/libinterp/corefcn/dirfns.cc	Sat Oct 10 20:06:12 2020 -0700
@@ -601,10 +601,10 @@
 
 /*
 %!test
-%! tmpdir = tempname;
+%! tmpdir = tempname ();
 %! filename = {"file1", "file2", "file3", "myfile1", "myfile1b"};
 %! if (mkdir (tmpdir))
-%!   cwd = pwd;
+%!   cwd = pwd ();
 %!   cd (tmpdir);
 %!   if (strcmp (canonicalize_file_name (pwd), canonicalize_file_name (tmpdir)))
 %!     a = 0;