Explorar o código

Updating expected error message

Eduardo Argollo %!s(int64=7) %!d(string=hai) anos
pai
achega
e18b1a884a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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{