summaryrefslogtreecommitdiff
path: root/spec/ruby/core/process/initgroups_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/process/initgroups_spec.rb')
-rw-r--r--spec/ruby/core/process/initgroups_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/process/initgroups_spec.rb b/spec/ruby/core/process/initgroups_spec.rb
index e711fc0798..1dd516d8b2 100644
--- a/spec/ruby/core/process/initgroups_spec.rb
+++ b/spec/ruby/core/process/initgroups_spec.rb
@@ -14,7 +14,7 @@ describe "Process.initgroups" do
Process.groups.sort.should == augmented_groups.sort
Process.groups = groups
else
- lambda { Process.initgroups(name, gid) }.should raise_error(Errno::EPERM)
+ -> { Process.initgroups(name, gid) }.should raise_error(Errno::EPERM)
end
end
end