소스 검색

Updating expected error message

Eduardo Argollo 6 년 전
부모
커밋
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",
 			description:    "test empty",
 			numLeaks:       0,
 			numLeaks:       0,
-			expectedErrMsg: "reference not found",
+			expectedErrMsg: "repository not found",
 		},
 		},
 		{
 		{
 			testOpts: &Options{
 			testOpts: &Options{