Skip to content

Commit a7751f7

Browse files
committed
Missed {} in a few places
1 parent 65c654b commit a7751f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/graphql/query/arguments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def each_value
9595
end
9696
end
9797

98-
NO_ARGS = self.new({}, argument_definitions: [], defaults_used: {})
98+
NO_ARGS = self.new({}, argument_definitions: [], defaults_used: Set.new)
9999

100100
class << self
101101
attr_accessor :argument_definitions

spec/graphql/query/arguments_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
assert_equal nil, input_object.arguments_class
329329

330330
GraphQL::Query::Arguments.construct_arguments_class(input_object)
331-
args = input_object.arguments_class.new({foo: 3, bar: -90}, {})
331+
args = input_object.arguments_class.new({foo: 3, bar: -90}, Set.new)
332332

333333
assert_equal 3, args.foo
334334
assert_equal -90, args.bar

0 commit comments

Comments
 (0)