diff options
Diffstat (limited to 'spec/ruby/core/dir/fileno_spec.rb')
-rw-r--r-- | spec/ruby/core/dir/fileno_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/dir/fileno_spec.rb b/spec/ruby/core/dir/fileno_spec.rb index 5a893d2da9..504e36d44b 100644 --- a/spec/ruby/core/dir/fileno_spec.rb +++ b/spec/ruby/core/dir/fileno_spec.rb @@ -31,7 +31,7 @@ describe "Dir#fileno" do end else it "raises an error when not implemented on the platform" do - lambda { @dir.fileno }.should raise_error(NotImplementedError) + -> { @dir.fileno }.should raise_error(NotImplementedError) end end end |