Skip to content

Commit 6304e3e

Browse files
committed
remove extra failure outputs
1 parent 22c403a commit 6304e3e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

script_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,6 @@ func TestJQWithDotQueryPrettyPrintsInput(t *testing.T) {
743743
t.Fatal(err)
744744
}
745745
if want != got {
746-
t.Error(want, got)
747746
t.Error(cmp.Diff(want, got))
748747
}
749748
}
@@ -757,7 +756,6 @@ func TestJQWithFieldQueryProducesSelectedField(t *testing.T) {
757756
t.Fatal(err)
758757
}
759758
if want != got {
760-
t.Error(want, got)
761759
t.Error(cmp.Diff(want, got))
762760
}
763761
}
@@ -771,7 +769,6 @@ func TestJQWithArrayQueryProducesRequiredArray(t *testing.T) {
771769
t.Fatal(err)
772770
}
773771
if want != got {
774-
t.Error(want, got)
775772
t.Error(cmp.Diff(want, got))
776773
}
777774
}
@@ -785,7 +782,6 @@ func TestJQWithArrayInputAndElementQueryProducesSelectedElement(t *testing.T) {
785782
t.Fatal(err)
786783
}
787784
if want != got {
788-
t.Error(want, got)
789785
t.Error(cmp.Diff(want, got))
790786
}
791787
}
@@ -799,7 +795,6 @@ func TestJQHandlesGithubJSONWithRealWorldExampleQuery(t *testing.T) {
799795
t.Fatal(err)
800796
}
801797
if want != got {
802-
t.Error(want, got)
803798
t.Error(cmp.Diff(want, got))
804799
}
805800
}

0 commit comments

Comments
 (0)