Просмотр исходного кода

Updating expected error message

Eduardo Argollo 6 лет назад
Родитель
Сommit
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{