Skip to content

Commit bd7750a

Browse files
fixed space again
1 parent 28dd301 commit bd7750a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/commands/scan_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ func TestCreateScanWithPrimaryBranchFlagBooleanValueFalse_Passed(t *testing.T) {
622622
func TestCreateScanWithPrimaryBranchFlagStringValue_Should_Fail(t *testing.T) {
623623
err := execCmdNotNilAssertion(t, "scan", "create", "--project-name", "MOCK", "-s", dummyRepo, "-b", "dummy_branch", "--debug", "--branch-primary=string")
624624
assert.ErrorContains(t, err, "invalid argument \"string\"", err.Error())
625-
626625
}
626+
627627
func Test_parseThresholdSuccess(t *testing.T) {
628628
want := make(map[string]int)
629629
want["iac-security-low"] = 1
@@ -642,15 +642,13 @@ func Test_parseThresholdsSuccess(t *testing.T) {
642642
t.Errorf("parseThreshold() = %v, want %v", got, want)
643643
}
644644
}
645-
646645
func Test_parseThresholdParseError(t *testing.T) {
647646
want := make(map[string]int)
648647
threshold := " KICS - LoW=error"
649648
if got := parseThreshold(threshold); !reflect.DeepEqual(got, want) {
650649
t.Errorf("parseThreshold() = %v, want %v", got, want)
651650
}
652651
}
653-
654652
func TestCreateScanProjectTags(t *testing.T) {
655653
execCmdNilAssertion(t, scanCommand, "create", "--project-name", "MOCK", "-s", dummyRepo, "-b", "dummy_branch",
656654
"--project-tags", "test", "--debug")

0 commit comments

Comments
 (0)