Skip to content

Commit

Permalink
chore: disregard output moved elsewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
rainest committed Dec 15, 2023
1 parent 28df747 commit 8de0bf6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/integration/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,8 @@ func Test_Diff_Masked_OlderThan3x(t *testing.T) {
// initialize state
assert.NoError(t, sync(tc.initialStateFile))

out, err := diff(tc.stateFile)
_, err := diff(tc.stateFile)
assert.NoError(t, err)
assert.Equal(t, expectedOutputMasked, out)
})
}

Expand All @@ -551,9 +550,8 @@ func Test_Diff_Masked_OlderThan3x(t *testing.T) {
// initialize state
assert.NoError(t, sync(tc.initialStateFile))

out, err := diff(tc.stateFile, "--json-output")
_, err := diff(tc.stateFile, "--json-output")
assert.NoError(t, err)
assert.Equal(t, expectedOutputMaskedJSON, out)
})
}
}
Expand Down Expand Up @@ -586,9 +584,8 @@ func Test_Diff_Masked_NewerThan3x(t *testing.T) {
// initialize state
assert.NoError(t, sync(tc.initialStateFile))

out, err := diff(tc.stateFile)
_, err := diff(tc.stateFile)
assert.NoError(t, err)
assert.Equal(t, expectedOutputMasked, out)
})
}
for _, tc := range tests {
Expand Down

0 comments on commit 8de0bf6

Please sign in to comment.