ruby-changes:36052
From: svn <ko1@a...>
Date: Sat, 25 Oct 2014 20:01:17 +0900 (JST)
Subject: [ruby-changes:36052] svn:r48133 (trunk): * remove trailing spaces.
svn 2014-10-25 20:01:07 +0900 (Sat, 25 Oct 2014) New Revision: 48133 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48133 Log: * remove trailing spaces. Modified files: trunk/test/test_unicode_normalize.rb Index: test/test_unicode_normalize.rb =================================================================== --- test/test_unicode_normalize.rb (revision 48132) +++ test/test_unicode_normalize.rb (revision 48133) @@ -148,7 +148,7 @@ class TestNormalize < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/test_unicode_normalize.rb#L148 assert_equal "\u1100\u1161\u0323\u0300", "\uAC00\u0300\u0323".unicode_normalize(:nfd) assert_equal "\u1100\u1161\u0323\u0300", "\u1100\u1161\u0300\u0323".unicode_normalize(:nfd) end - + def test_raise_exception_for_non_unicode_encoding assert_raise(Encoding::CompatibilityError) { "abc".force_encoding('ISO-8859-1').unicode_normalize } assert_raise(Encoding::CompatibilityError) { "abc".force_encoding('ISO-8859-1').unicode_normalize! } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/