diff options
Diffstat (limited to 'spec/ruby/core/file/lchmod_spec.rb')
-rw-r--r-- | spec/ruby/core/file/lchmod_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/lchmod_spec.rb b/spec/ruby/core/file/lchmod_spec.rb index 7be09a05ef..9490459a02 100644 --- a/spec/ruby/core/file/lchmod_spec.rb +++ b/spec/ruby/core/file/lchmod_spec.rb @@ -36,7 +36,7 @@ describe "File.lchmod" do end it "raises a NotImplementedError when called" do - lambda { File.lchmod 0 }.should raise_error(NotImplementedError) + -> { File.lchmod 0 }.should raise_error(NotImplementedError) end end end |