diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_symbol.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index f4956535d4..f30e2a2a7f 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -76,7 +76,7 @@ class TestSymbol < Test::Unit::TestCase end def test_inspect - valid = %w{$a @a @@a < << <= <=> > >> >= =~ == === * ** + +@ - -@ + valid = %W{$a @a @@a < << <= <=> > >> >= =~ == === * ** + +@ - -@ | ^ & / % ~ \` [] []= ! != !~ a a? a! a= A A? A! A=} valid.each do |sym| assert_equal(':' + sym, sym.intern.inspect) |