diff test/test_system.m @ 5814:67bf9b4f2ae2

[project @ 2006-05-11 21:58:34 by jwe]
author jwe
date Thu, 11 May 2006 21:58:34 +0000
parents faafc2d98b8d
children 1ec9de3cd12c
line wrap: on
line diff
--- a/test/test_system.m	Thu May 11 19:46:15 2006 +0000
+++ b/test/test_system.m	Thu May 11 21:58:34 2006 +0000
@@ -347,7 +347,7 @@
 %!error <Invalid call to fnmatch.*> fnmatch ("foo", "bar", 3);
 
 %% test/octave.test/system/file_in_path-1.m
-%!assert(isstr (file_in_path (LOADPATH, "date.m")));
+%!assert(isstr (file_in_path (path (), "date.m")));
 
 %% test/octave.test/system/file_in_path-2.m
 %!error <invalid option> file_in_path ("foo", "bar", 1);