Skip to content

Commit cbca593

Browse files
committed
[Bug #21844] Fix error message
1 parent b6e6ccc commit cbca593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ruby/core/data/deconstruct_keys_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
-> {
8787
d.deconstruct_keys([key])
88-
}.should raise_consistent_error(TypeError, /can't convert MockObject into Integer/)
88+
}.should raise_consistent_error(TypeError, /can't convert MockObject into String/)
8989
end
9090

9191
it "raises TypeError if index is not a Symbol and not convertible to String " do

0 commit comments

Comments
 (0)