From 0c386220dde782d1f9a1133810bd5d1f1f5cce26 Mon Sep 17 00:00:00 2001 From: ahrav Date: Thu, 18 May 2023 15:12:38 -0700 Subject: [PATCH] [chore] - Use correct detector proto (#1347) * Use correct detector proto. * sort imports. --- pkg/detectors/databrickstoken/databrickstoken_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/detectors/databrickstoken/databrickstoken_test.go b/pkg/detectors/databrickstoken/databrickstoken_test.go index c1f1afe5944f..9f7735439c93 100644 --- a/pkg/detectors/databrickstoken/databrickstoken_test.go +++ b/pkg/detectors/databrickstoken/databrickstoken_test.go @@ -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" ) @@ -48,7 +48,7 @@ func TestDatabrickstoken_FromChunk(t *testing.T) { }, want: []detectors.Result{ { - DetectorType: detectorspb.DetectorType_Databrickstoken, + DetectorType: detectorspb.DetectorType_DatabricksToken, Verified: true, }, }, @@ -64,7 +64,7 @@ func TestDatabrickstoken_FromChunk(t *testing.T) { }, want: []detectors.Result{ { - DetectorType: detectorspb.DetectorType_Databrickstoken, + DetectorType: detectorspb.DetectorType_DatabricksToken, Verified: false, }, },