From 9609928c0216ae24dfeea1f802d04f661a44892a Mon Sep 17 00:00:00 2001 From: Zach Date: Wed, 30 Apr 2025 09:57:28 -0500 Subject: [PATCH] rm 1password detect test since we test it in cfg gen --- detect/detect_test.go | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/detect/detect_test.go b/detect/detect_test.go index 157c36ef..1000e3df 100644 --- a/detect/detect_test.go +++ b/detect/detect_test.go @@ -68,29 +68,6 @@ func TestDetect(t *testing.T) { }{ // General "valid allow comment (1)": { - cfgName: "simple", - fragment: Fragment{ - Raw: `Key: A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB`, - FilePath: "tmp.go", - }, - expectedFindings: []report.Finding{ - { - Description: "1Password Secret Key", - Secret: "A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB", - Match: "A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB", - Line: "Key: A3-ASWWYB-798JRY-LJVD4-23DC2-86TVM-H43EB", - File: "tmp.go", - RuleID: "1password-secret-key", - Tags: []string{"1Password"}, - StartLine: 0, - EndLine: 0, - StartColumn: 6, - EndColumn: 45, - Entropy: 4.3153114, - }, - }, - }, - { cfgName: "simple", fragment: Fragment{ Raw: `awsToken := \"AKIALALEMEL33243OKIA\ // gitleaks:allow"`,