summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/io/output_spec.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-29 14:35:37 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-29 14:35:37 +0000
commit5b593e388931490c1e2246d0347c892440167b2c (patch)
tree70d928d35c01b51bb9a6cdc44af4bd7cc05a669b /spec/rubyspec/core/io/output_spec.rb
parent6a4aa4838cc53a520044b86deb4ecddb57bca876 (diff)
Update to ruby/spec@abf1700
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/rubyspec/core/io/output_spec.rb')
-rw-r--r--spec/rubyspec/core/io/output_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/rubyspec/core/io/output_spec.rb b/spec/rubyspec/core/io/output_spec.rb
index ac3e781cee..2d52315430 100644
--- a/spec/rubyspec/core/io/output_spec.rb
+++ b/spec/rubyspec/core/io/output_spec.rb
@@ -9,10 +9,10 @@ describe "IO#<<" do
end
it "calls #to_s on the object to print it" do
- lambda {
- $stderr << 1337
+ lambda {
+ $stderr << 1337
}.should output_to_fd("1337", $stderr)
- end
+ end
it "raises an error if the stream is closed" do
io = IOSpecs.closed_io