mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@519df35
This commit is contained in:
parent
31bb66a19d
commit
1c938a72aa
83 changed files with 1416 additions and 308 deletions
|
@ -179,7 +179,7 @@ describe "IO.pipe" do
|
|||
it "calls #to_hash to convert an options argument" do
|
||||
options = mock("io pipe encoding options")
|
||||
options.should_receive(:to_hash).and_return({ invalid: :replace })
|
||||
IO.pipe("UTF-8", "ISO-8859-1", options) { |r, w| }
|
||||
IO.pipe("UTF-8", "ISO-8859-1", **options) { |r, w| }
|
||||
end
|
||||
|
||||
it "calls #to_str to convert the first argument to a String" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue