File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,13 @@ def self.type_error(err, ctx)
411411 assert type_defn_shapes_a . find { |sh | sh == default_connection_shape } , "There's a match for default_connection_shape"
412412 assert type_defn_shapes_a . find { |sh | sh == default_mutation_payload_shape } , "There's a match for default_mutation_payload_shape"
413413
414- assert_equal [ ] , type_defn_shapes_a - expected_default_shapes , "There aren't any other shape profiles"
414+ extra_shapes = type_defn_shapes_a - expected_default_shapes
415+ extra_shapes_by_name = { }
416+ extra_shapes . each do |shape |
417+ name = example_shapes_by_name . key ( shape )
418+ extra_shapes_by_name [ name ] = shape
419+ end
420+ assert_equal ( { } , extra_shapes_by_name , "There aren't any extras shape profiles" )
415421 end
416422
417423 describe "overriding wrap" do
You can’t perform that action at this time.
0 commit comments