summaryrefslogtreecommitdiff
path: root/spec/ruby/library/matrix/row_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/matrix/row_spec.rb')
-rw-r--r--spec/ruby/library/matrix/row_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/matrix/row_spec.rb b/spec/ruby/library/matrix/row_spec.rb
index 1cf2c6ae2c..00b1f02a8e 100644
--- a/spec/ruby/library/matrix/row_spec.rb
+++ b/spec/ruby/library/matrix/row_spec.rb
@@ -30,7 +30,7 @@ describe "Matrix#row" do
end
it "never yields when out of bounds" do
- lambda { @m.row(3){ raise } }.should_not raise_error
- lambda { @m.row(-4){ raise } }.should_not raise_error
+ -> { @m.row(3){ raise } }.should_not raise_error
+ -> { @m.row(-4){ raise } }.should_not raise_error
end
end