Преглед изворни кода

Updating expected error message

Eduardo Argollo пре 7 година
родитељ
комит
e18b1a884a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/gitleaks_test.go

+ 1 - 1
src/gitleaks_test.go

@@ -206,7 +206,7 @@ func TestRun(t *testing.T) {
 			},
 			description:    "test empty",
 			numLeaks:       0,
-			expectedErrMsg: "reference not found",
+			expectedErrMsg: "repository not found",
 		},
 		{
 			testOpts: &Options{