mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@6cf8ebe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c7c6763f6
commit
75334db3c6
111 changed files with 1031 additions and 231 deletions
|
@ -30,7 +30,7 @@ describe "String#chomp" do
|
|||
"abc\r\r".chomp.should == "abc\r"
|
||||
end
|
||||
|
||||
it "removes one trailing carrige return, newline pair" do
|
||||
it "removes one trailing carriage return, newline pair" do
|
||||
"abc\r\n\r\n".chomp.should == "abc\r\n"
|
||||
end
|
||||
|
||||
|
@ -111,7 +111,7 @@ describe "String#chomp" do
|
|||
"abc\r\r".chomp("\n").should == "abc\r"
|
||||
end
|
||||
|
||||
it "removes one trailing carrige return, newline pair" do
|
||||
it "removes one trailing carriage return, newline pair" do
|
||||
"abc\r\n\r\n".chomp("\n").should == "abc\r\n"
|
||||
end
|
||||
|
||||
|
@ -193,7 +193,7 @@ describe "String#chomp!" do
|
|||
"abc\r\r".chomp!.should == "abc\r"
|
||||
end
|
||||
|
||||
it "removes one trailing carrige return, newline pair" do
|
||||
it "removes one trailing carriage return, newline pair" do
|
||||
"abc\r\n\r\n".chomp!.should == "abc\r\n"
|
||||
end
|
||||
|
||||
|
@ -265,7 +265,7 @@ describe "String#chomp!" do
|
|||
"abc\r\r".chomp!("\n").should == "abc\r"
|
||||
end
|
||||
|
||||
it "removes one trailing carrige return, newline pair" do
|
||||
it "removes one trailing carriage return, newline pair" do
|
||||
"abc\r\n\r\n".chomp!("\n").should == "abc\r\n"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue