mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@335eb9b
This commit is contained in:
parent
3dd63108b0
commit
b49307c701
22 changed files with 556 additions and 344 deletions
|
@ -25,7 +25,7 @@ describe "IO#puts" do
|
|||
end
|
||||
|
||||
it "writes just a newline when given just a newline" do
|
||||
-> { $stdout.puts "\n" }.should output_to_fd("\n", STDOUT)
|
||||
-> { $stdout.puts "\n" }.should output_to_fd("\n", $stdout)
|
||||
end
|
||||
|
||||
it "writes empty string with a newline when given nil as an arg" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue