diff options
Diffstat (limited to 'spec/ruby/core/complex/negative_spec.rb')
-rw-r--r-- | spec/ruby/core/complex/negative_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/complex/negative_spec.rb b/spec/ruby/core/complex/negative_spec.rb index 1ea5392f39..62ab89c04a 100644 --- a/spec/ruby/core/complex/negative_spec.rb +++ b/spec/ruby/core/complex/negative_spec.rb @@ -6,7 +6,7 @@ describe "Complex#negative?" do c.methods.should_not include(:negative?) - lambda { + -> { c.negative? }.should raise_error(NoMethodError) end |