Skip to content

Commit ab95577

Browse files
committed
Fix: Ruby 3.4 removes spaces around the hash rocket.
1 parent 4d7eff5 commit ab95577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hyperclient/link_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ module Hyperclient
276276
link = Link.new('key', { 'href' => '/productions/1' }, 'foo')
277277

278278
_(link.inspect).must_include 'Link'
279-
_(link.inspect).must_include '"href"=>"/productions/1"'
279+
_(link.inspect).must_include({ 'href' => '/productions/1' }.inspect)
280280
end
281281
end
282282

0 commit comments

Comments
 (0)