diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-27 14:55:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-27 14:55:40 +0000 |
commit | 969ae329ee2eddc5099f7212ffd0159bff7fbac5 (patch) | |
tree | 33fc6d09f799dce882aa7ed3fc779cc9bdd0931b /test/ruby/test_symbol.rb | |
parent | dddc9485da5e96d9406f7c4e942aa253d21a12c0 (diff) | |
download | ruby-969ae329ee2eddc5099f7212ffd0159bff7fbac5.tar.gz |
* 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
Diffstat (limited to 'test/ruby/test_symbol.rb')
-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) |