diff --git a/src/about_strings.rb b/src/about_strings.rb index 2496982..bb28593 100644 --- a/src/about_strings.rb +++ b/src/about_strings.rb @@ -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