1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_symbol.rb (test_inspect): use %W to enable

escape.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-07-27 14:55:40 +00:00
parent dddc9485da
commit 969ae329ee

View file

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