Skip to content

Commit 019bce8

Browse files
sogkochris-ramon
authored andcommitted
Remove unused fragment in queries in unit tests
Commit: cbded829525a68b9e0dab61621992cbf01348981 [cbded82] Parents: dd02973028 Author: Zhaojun Zhang <[email protected]> Date: 26 April 2016 at 2:04:47 AM SGT Committer: Lee Byron <[email protected]>
1 parent 7074425 commit 019bce8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

directives_test.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ func TestDirectivesWorksOnInlineFragmentIfFalseOmitsInlineFragment(t *testing.T)
342342
b
343343
}
344344
}
345-
fragment Frag on TestType {
346-
b
347-
}
348345
`
349346
expected := &graphql.Result{
350347
Data: map[string]interface{}{
@@ -368,9 +365,6 @@ func TestDirectivesWorksOnInlineFragmentIfTrueIncludesInlineFragment(t *testing.
368365
b
369366
}
370367
}
371-
fragment Frag on TestType {
372-
b
373-
}
374368
`
375369
expected := &graphql.Result{
376370
Data: map[string]interface{}{
@@ -395,9 +389,6 @@ func TestDirectivesWorksOnInlineFragmentUnlessFalseIncludesInlineFragment(t *tes
395389
b
396390
}
397391
}
398-
fragment Frag on TestType {
399-
b
400-
}
401392
`
402393
expected := &graphql.Result{
403394
Data: map[string]interface{}{
@@ -422,9 +413,6 @@ func TestDirectivesWorksOnInlineFragmentUnlessTrueIncludesInlineFragment(t *test
422413
b
423414
}
424415
}
425-
fragment Frag on TestType {
426-
b
427-
}
428416
`
429417
expected := &graphql.Result{
430418
Data: map[string]interface{}{

0 commit comments

Comments
 (0)