Merge branch 'master' of http://github.com/Twisol/ruby_koans into twisol
* 'master' of http://github.com/Twisol/ruby_koans: 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:
@@ -156,7 +156,7 @@ EOS
|
||||
end
|
||||
|
||||
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 == 97
|
||||
end
|
||||
|
||||
@@ -156,7 +156,7 @@ EOS
|
||||
end
|
||||
|
||||
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 __(false), ?a == 97
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user