Skip to content

Commit

Permalink
opts: fix empty-lines (revive)
Browse files Browse the repository at this point in the history
    opts/address_pools_test.go:7:39: empty-lines: extra empty line at the end of a block (revive)
    opts/opts_test.go:12:42: empty-lines: extra empty line at the end of a block (revive)
    opts/opts_test.go:60:49: empty-lines: extra empty line at the end of a block (revive)
    opts/opts_test.go:253:37: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Sep 27, 2022
1 parent ddb42f3 commit b04f141
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion opts/address_pools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ func TestAddressPoolOpt(t *testing.T) {
if err := poolopt.Set(invalidAddresspoolString); err == nil {
t.Fatal(err)
}

}
3 changes: 0 additions & 3 deletions opts/opts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func TestValidateIPAddress(t *testing.T) {
if ret, err := ValidateIPAddress(`random invalid string`); err == nil || ret != "" {
t.Fatalf("ValidateIPAddress(`random invalid string`) got %s %s", ret, err)
}

}

func TestMapOpts(t *testing.T) {
Expand Down Expand Up @@ -89,7 +88,6 @@ func TestListOptsWithoutValidator(t *testing.T) {
if len(mapListOpts) != 1 {
t.Errorf("Expected [map[bar:{}]], got [%v]", mapListOpts)
}

}

func TestListOptsWithValidator(t *testing.T) {
Expand Down Expand Up @@ -264,7 +262,6 @@ func TestValidateLabel(t *testing.T) {
assert.Check(t, is.Equal(result, testCase.expectedResult))
}
})

}
}

Expand Down

0 comments on commit b04f141

Please sign in to comment.