summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-27 14:55:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-27 14:55:40 +0000
commit969ae329ee2eddc5099f7212ffd0159bff7fbac5 (patch)
tree33fc6d09f799dce882aa7ed3fc779cc9bdd0931b
parentdddc9485da5e96d9406f7c4e942aa253d21a12c0 (diff)
* 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
-rw-r--r--test/ruby/test_symbol.rb2
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)