Skip to content

Commit

Permalink
raw (#3845)
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav authored Jan 15, 2025
1 parent 1a1fe7b commit eea7e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/detectors/ngrok/ngrok_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ func TestNgrok_Pattern(t *testing.T) {
{
name: "valid pattern - with keyword ngrok",
input: fmt.Sprintf("%s token = '%s'", keyword, validPattern),
want: []string{},
want: []string{"2WIRSIHOQyHSVklZnoz2k6bTYdH_0E7z0Ta9QEyR1fZvQ0KU9"},
},
{
name: "valid pattern - ignore duplicate",
input: fmt.Sprintf("%s token = '%s' | '%s'", keyword, validPattern, validPattern),
want: []string{},
want: []string{"2WIRSIHOQyHSVklZnoz2k6bTYdH_0E7z0Ta9QEyR1fZvQ0KU9"},
},
{
name: "valid pattern - key out of prefix range",
Expand Down

0 comments on commit eea7e06

Please sign in to comment.