Skip to content

Commit

Permalink
remove UTF-8 strings from mruby-string-ext test
Browse files Browse the repository at this point in the history
  • Loading branch information
matz committed Jun 7, 2014
1 parent 32e4501 commit 76012a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrbgems/mruby-string-ext/test/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ def o.to_str
end

assert('String#lines') do
assert_equal ["こん\n", "にちは\n", "世界!"], "こん\nにちは\n世界!".lines
assert_equal ["こん\n", "にちは\n", "世界!\n"], "こん\nにちは\n世界!\n".lines
assert_equal ["Hel\n", "lo\n", "World!"], "Hel\nlo\nWorld!".lines
assert_equal ["Hel\n", "lo\n", "World!\n"], "Hel\nlo\nWorld!\n".lines
assert_equal ["\n", "\n", "\n"], "\n\n\n".lines
assert_equal [], "".lines
end

0 comments on commit 76012a8

Please sign in to comment.