1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

opts: fix empty-lines (revive)

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>
This commit is contained in:
Sebastiaan van Stijn 2022-09-23 22:34:10 +02:00
parent ddb42f3ad2
commit b04f1416f6
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 0 additions and 4 deletions

View file

@ -16,5 +16,4 @@ func TestAddressPoolOpt(t *testing.T) {
if err := poolopt.Set(invalidAddresspoolString); err == nil {
t.Fatal(err)
}
}

View file

@ -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) {
@ -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) {
@ -264,7 +262,6 @@ func TestValidateLabel(t *testing.T) {
assert.Check(t, is.Equal(result, testCase.expectedResult))
}
})
}
}