summaryrefslogtreecommitdiff
path: root/spec/ruby/core/enumerable
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2021-09-07 19:01:07 +0200
committerBenoit Daloze <eregontp@gmail.com>2021-09-07 19:01:07 +0200
commit258661409e9e3fd470f006975ded872778aad4f4 (patch)
tree4cd23fe290feb50f4d41349013dbb41bdf12117f /spec/ruby/core/enumerable
parenta375640ea561d1f7c4d2d89839007b3a973a04e0 (diff)
Update to ruby/spec@b1e93a2
Diffstat (limited to 'spec/ruby/core/enumerable')
-rw-r--r--spec/ruby/core/enumerable/tally_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/enumerable/tally_spec.rb b/spec/ruby/core/enumerable/tally_spec.rb
index c23ea11697..92aac507ff 100644
--- a/spec/ruby/core/enumerable/tally_spec.rb
+++ b/spec/ruby/core/enumerable/tally_spec.rb
@@ -51,7 +51,7 @@ ruby_version_is "3.1" do
enum.tally(hash).should equal(hash)
end
- it "raises a FrozenError and does not udpate the given hash when the hash is frozen" do
+ it "raises a FrozenError and does not update the given hash when the hash is frozen" do
enum = EnumerableSpecs::Numerous.new('foo', 'bar', 'foo', 'baz')
hash = { 'foo' => 1 }.freeze
-> { enum.tally(hash) }.should raise_error(FrozenError)