Update about_strings.rb

Update single character representation test for Ruby 2.
This commit is contained in:
Mike Henry
2013-06-10 15:34:58 -06:00
parent 7c2b5fe273
commit 98a72a5a4c

View File

@@ -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