mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bdea9273ca
commit
6e9ff5a892
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ class TestNormalize < Test::Unit::TestCase
|
|||
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! }
|
||||
|
|
Loading…
Reference in a new issue