Skip to content

Commit 68cfa8d

Browse files
committed
Fix build
1 parent 86861e7 commit 68cfa8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/ee/agent-smith/pkg/detector/filesystem_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ func TestFileDetector_DisabledConfig(t *testing.T) {
108108
mockClassifier := &mockFileClassifier{}
109109
_, err := NewfileDetector(config, mockClassifier)
110110
if err == nil {
111-
t.Error("expected error when filesystem scanning is disabled, got nil")
111+
t.Error("expected error when file scanning is disabled, got nil")
112112
}
113113

114-
expectedError := "filesystem scanning is disabled"
114+
expectedError := "file scanning is disabled"
115115
if err.Error() != expectedError {
116116
t.Errorf("expected error %q, got %q", expectedError, err.Error())
117117
}

0 commit comments

Comments
 (0)