ruby-changes:20658
From: nobu <ko1@a...>
Date: Wed, 27 Jul 2011 23:55:48 +0900 (JST)
Subject: [ruby-changes:20658] nobu:r32706 (trunk): * test/ruby/test_symbol.rb (test_inspect): use %W to enable
nobu 2011-07-27 23:55:40 +0900 (Wed, 27 Jul 2011) New Revision: 32706 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32706 Log: * test/ruby/test_symbol.rb (test_inspect): use %W to enable escape. Modified files: trunk/test/ruby/test_symbol.rb Index: test/ruby/test_symbol.rb =================================================================== --- test/ruby/test_symbol.rb (revision 32705) +++ test/ruby/test_symbol.rb (revision 32706) @@ -76,7 +76,7 @@ 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/