diff options
Diffstat (limited to 'spec/ruby/library/set/compare_by_identity_spec.rb')
| -rw-r--r-- | spec/ruby/library/set/compare_by_identity_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/set/compare_by_identity_spec.rb b/spec/ruby/library/set/compare_by_identity_spec.rb index 01b66ec92b..a6ad794ad3 100644 --- a/spec/ruby/library/set/compare_by_identity_spec.rb +++ b/spec/ruby/library/set/compare_by_identity_spec.rb @@ -93,7 +93,7 @@ describe "Set#compare_by_identity" do it "raises a #{frozen_error_class} on frozen sets" do set = Set.new.freeze - lambda { + -> { set.compare_by_identity }.should raise_error(frozen_error_class, /frozen Hash/) end |
