With 'test_in_ruby_1_8_single_characters_are_represented_by_strings', changed the name to use '1.9', since it's in an in_ruby_version("1.9") block. (Confused me for a good while.)

This commit is contained in:
Jonathan Castello
2010-08-21 01:33:13 -07:00
parent eee3429394
commit 7c52931392
2 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ EOS
end end
in_ruby_version("1.9") do in_ruby_version("1.9") do
def test_in_ruby_1_8_single_characters_are_represented_by_strings def test_in_ruby_1_9_single_characters_are_represented_by_strings
assert_equal __, ?a assert_equal __, ?a
assert_equal __, ?a == 97 assert_equal __, ?a == 97
end end

View File

@@ -156,7 +156,7 @@ EOS
end end
in_ruby_version("1.9") do in_ruby_version("1.9") do
def test_in_ruby_1_8_single_characters_are_represented_by_strings def test_in_ruby_1_9_single_characters_are_represented_by_strings
assert_equal __('a'), ?a assert_equal __('a'), ?a
assert_equal __(false), ?a == 97 assert_equal __(false), ?a == 97
end end