Fix a test for ruby 1.9.1 (question mark *must* end the method in 1.9.1?)

This commit is contained in:
Scott Taylor 2009-11-08 13:23:31 -05:00
parent fc7515fd08
commit f9e665bda9

View File

@ -288,7 +288,7 @@ class FakeFSTest < Test::Unit::TestCase
assert_nil File.size?("/path/to/other.txt")
end
def test_can_check_size?_of_empty_file
def test_can_check_size_of_empty_file
path = '/path/to/file.txt'
File.open(path, 'w') do |f|
f << ''