Commit 99e10b8d authored by Tomoyuki Sahara's avatar Tomoyuki Sahara

File::ALT_SEPARATOR is always defined (some string or nil).

parent 4acfd1c7
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment