diff options
Diffstat (limited to 'test/ruby/test_literal.rb')
-rw-r--r-- | test/ruby/test_literal.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb index a736874024..00adbff731 100644 --- a/test/ruby/test_literal.rb +++ b/test/ruby/test_literal.rb @@ -498,6 +498,7 @@ class TestRubyLiteral < Test::Unit::TestCase '//', '__LINE__', '__FILE__', + '__ENCODING__', ) do |key| assert_warning(/key #{Regexp.quote(eval(key).inspect)} is duplicated/) { eval("{#{key} => :bar, #{key} => :foo}") } end |