diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/file.rb b/test/file.rb index ebb515cbf..d62077f6e 100644 --- a/test/file.rb +++ b/test/file.rb @@ -80,7 +80,7 @@ assert('File.join') do end assert('File.realpath') do - if File.const_defined?(:ALT_SEPARATOR) && File::ALT_SEPARATOR + if File::ALT_SEPARATOR readme_path = File._getwd + File::ALT_SEPARATOR + "README.md" assert_equal readme_path, File.realpath("README.md") else |
