Skip to content

Commit cb862cb

Browse files
committed
Fix test case title
1 parent 8ae3304 commit cb862cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

language/hash_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def h.to_hash; {:b => 2, :c => 3}; end
150150
end
151151

152152
ruby_version_is ""..."3.4" do
153-
it "expands nil using ** into {}" do
153+
it "rises TypeError" do
154154
h = nil
155155
-> { {a: 1, **h} }.should raise_error(TypeError, "no implicit conversion of nil into Hash")
156156

0 commit comments

Comments
 (0)