Fix a test for ruby 1.9.1 (question mark *must* end the method in 1.9.1?)
This commit is contained in:
parent
fc7515fd08
commit
f9e665bda9
@ -288,7 +288,7 @@ class FakeFSTest < Test::Unit::TestCase
|
|||||||
assert_nil File.size?("/path/to/other.txt")
|
assert_nil File.size?("/path/to/other.txt")
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_can_check_size?_of_empty_file
|
def test_can_check_size_of_empty_file
|
||||||
path = '/path/to/file.txt'
|
path = '/path/to/file.txt'
|
||||||
File.open(path, 'w') do |f|
|
File.open(path, 'w') do |f|
|
||||||
f << ''
|
f << ''
|
||||||
|
Loading…
Reference in New Issue
Block a user