Skip to content

Commit 9d9590f

Browse files
Copilotlpcox
andcommitted
Replace assert.Nil(t, err) with assert.NoError(t, err) in difc_test.go
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent 3edfc45 commit 9d9590f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/difc/difc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func TestFormatViolationError(t *testing.T) {
153153
resource := NewLabeledResource("test-resource")
154154

155155
err := FormatViolationError(result, agentSecrecy, agentIntegrity, resource)
156-
assert.Nil(t, err, "Expected nil error for allowed access")
156+
assert.NoError(t, err, "Expected nil error for allowed access")
157157
})
158158

159159
t.Run("formats secrecy violation error", func(t *testing.T) {

0 commit comments

Comments
 (0)