mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* remove trailing spaces, append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
95e8c48dd3
commit
6bc742bc6d
30 changed files with 37 additions and 31 deletions
|
@ -68,7 +68,7 @@ with_feature :encoding do
|
|||
str = "あ"
|
||||
str.force_encoding("ascii-8bit")
|
||||
encoded = str.encode("utf-8", "utf-8")
|
||||
|
||||
|
||||
encoded.should_not equal(str)
|
||||
encoded.encoding.should == Encoding::UTF_8
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue