Skip to content

Commit 20528c3

Browse files
committed
Fix Struct initialization for upcoming change to Ruby after 3.1.
1 parent 4f76d96 commit 20528c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdf/spec/matchers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def io_name
273273
@info = if (info.id rescue false)
274274
info
275275
elsif info.is_a?(Logger)
276-
Info.new(logger: info)
276+
Info.new({logger: info})
277277
elsif info.is_a?(Hash)
278278
Info.new(info[:id], info[:logger], info[:action], info[:result], info[:format], info[:base], info[:prefixes])
279279
else

0 commit comments

Comments
 (0)