Skip to content

Commit

Permalink
[chore] - Use correct detector proto (trufflesecurity#1347)
Browse files Browse the repository at this point in the history
* Use correct detector proto.

* sort imports.
  • Loading branch information
ahrav authored May 18, 2023
1 parent 1a81709 commit 0c38622
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/detectors/databrickstoken/databrickstoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"time"

"github.com/kylelemons/godebug/pretty"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors"

"github.com/trufflesecurity/trufflehog/v3/pkg/common"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors"
"github.com/trufflesecurity/trufflehog/v3/pkg/pb/detectorspb"
)

Expand Down Expand Up @@ -48,7 +48,7 @@ func TestDatabrickstoken_FromChunk(t *testing.T) {
},
want: []detectors.Result{
{
DetectorType: detectorspb.DetectorType_Databrickstoken,
DetectorType: detectorspb.DetectorType_DatabricksToken,
Verified: true,
},
},
Expand All @@ -64,7 +64,7 @@ func TestDatabrickstoken_FromChunk(t *testing.T) {
},
want: []detectors.Result{
{
DetectorType: detectorspb.DetectorType_Databrickstoken,
DetectorType: detectorspb.DetectorType_DatabricksToken,
Verified: false,
},
},
Expand Down

0 comments on commit 0c38622

Please sign in to comment.