summaryrefslogtreecommitdiff
path: root/spec/ruby/library
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library')
-rw-r--r--spec/ruby/library/coverage/running_spec.rb2
-rw-r--r--spec/ruby/library/stringio/new_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/coverage/running_spec.rb b/spec/ruby/library/coverage/running_spec.rb
index 745270164f..e9cc7ada5a 100644
--- a/spec/ruby/library/coverage/running_spec.rb
+++ b/spec/ruby/library/coverage/running_spec.rb
@@ -17,4 +17,4 @@ describe 'Coverage.running?' do
Coverage.result
Coverage.running?.should == false
end
-end \ No newline at end of file
+end
diff --git a/spec/ruby/library/stringio/new_spec.rb b/spec/ruby/library/stringio/new_spec.rb
index e36d210caa..328455134e 100644
--- a/spec/ruby/library/stringio/new_spec.rb
+++ b/spec/ruby/library/stringio/new_spec.rb
@@ -5,4 +5,4 @@ describe "StringIO.new" do
it "warns when called with a block" do
-> { eval("StringIO.new {}") }.should complain(/StringIO::new\(\) does not take block; use StringIO::open\(\) instead/)
end
-end \ No newline at end of file
+end