Permalink
Browse files

Merge pull request #2174 from brainopia/patch-1

Fix typos in proc specs
  • Loading branch information...
2 parents e916211 + 1bdc0ad commit 37b101192438d3abb54fedc31b602d58d9e853c3 @dbussink dbussink committed Feb 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/ruby/core/kernel/lambda_spec.rb
@@ -31,7 +31,7 @@
l.call(1, 2).should == :called
end
- it "does nost check the arity when passing a Proc with &" do
+ it "checks the arity when passing a Proc with &" do
l = lambda { || :called }
p = proc { || :called }
@@ -57,7 +57,7 @@
lambda { l.call(1, 2) }.should raise_error(ArgumentError)
end
- it "checks the arity when passing a Proc with &" do
+ it "does not check the arity when passing a Proc with &" do
l = lambda { || :called }
p = proc { || :called }

0 comments on commit 37b1011

Please sign in to comment.