Merge branch 'master' of https://github.com/mhenry07/ruby_koans into mhenry07
* 'master' of https://github.com/mhenry07/ruby_koans: Update about_strings.rb
This commit is contained in:
@@ -159,8 +159,8 @@ EOS
|
||||
end
|
||||
end
|
||||
|
||||
in_ruby_version("1.9") do
|
||||
def test_in_ruby_1_9_single_characters_are_represented_by_strings
|
||||
in_ruby_version("1.9", "2") do
|
||||
def test_in_ruby_1_9_and_2_single_characters_are_represented_by_strings
|
||||
assert_equal __('a'), ?a
|
||||
assert_equal __(false), ?a == 97
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user