diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-04 10:49:55 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-04 10:49:55 +0000 |
commit | 9b161c3cda4f692e8c31ee4fb722ee54a1f25a2c (patch) | |
tree | 62d733e6c9c9cec57a463b44908c4d0d31e3cb16 /test/ruby/test_string.rb | |
parent | f49d2269222962ac903ab9eae9fa371d920e817e (diff) |
change diaeresis from above to below for better visibility
In test/ruby/test_regexp.rb and test/ruby/test_string.rb, change
some instances of COMBINING DIAERESIS (U+0308, above) to
COMBINING DIAERESIS BELOW (U+0324) to make it more easily visible
in test output, particularly in the context of double quotes
surrounding strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r-- | test/ruby/test_string.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index ffae04bc21..1fa5126931 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -991,8 +991,8 @@ CODE end [ - ["\u{a 308}", ["\u000A", "\u0308"]], - ["\u{d 308}", ["\u000D", "\u0308"]], + ["\u{a 324}", ["\u000A", "\u0324"]], + ["\u{d 324}", ["\u000D", "\u0324"]], ["abc", ["a", "b", "c"]], ].each do |str, grapheme_clusters| assert_equal grapheme_clusters, str.each_grapheme_cluster.to_a @@ -1023,8 +1023,8 @@ CODE assert_predicate g.dup.taint.grapheme_clusters[0], :tainted? end - assert_equal ["\u000A", "\u0308"], "\u{a 308}".grapheme_clusters - assert_equal ["\u000D", "\u0308"], "\u{d 308}".grapheme_clusters + assert_equal ["\u000A", "\u0324"], "\u{a 324}".grapheme_clusters + assert_equal ["\u000D", "\u0324"], "\u{d 324}".grapheme_clusters assert_equal ["a", "b", "c"], "abc".b.grapheme_clusters if ENUMERATOR_WANTARRAY |