ruby-changes:41572
From: nobu <ko1@a...>
Date: Mon, 25 Jan 2016 00:00:11 +0900 (JST)
Subject: [ruby-changes:41572] nobu:r53646 (trunk): test_class.rb: fix encoding
nobu 2016-01-25 00:00:57 +0900 (Mon, 25 Jan 2016) New Revision: 53646 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53646 Log: test_class.rb: fix encoding * test/ruby/test_class.rb (test_namescope_error_message): fix encoding to UTF-8. Modified files: trunk/test/ruby/test_class.rb Index: test/ruby/test_class.rb =================================================================== --- test/ruby/test_class.rb (revision 53645) +++ test/ruby/test_class.rb (revision 53646) @@ -541,7 +541,9 @@ class TestClass < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_class.rb#L541 m = Module.new o = m.module_eval "class A\u{3042}; self; end.new" assert_raise_with_message(TypeError, /A\u{3042}/) { - o::Foo + EnvUtil.with_default_internal(Encoding::UTF_8) { + o::Foo + } } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/