mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-17 18:31:02 +02:00
fixup e82aea5862
: gofmt
This commit is contained in:
@ -8,6 +8,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/zrepl/zrepl/zfs"
|
"github.com/zrepl/zrepl/zfs"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -180,7 +181,7 @@ func TestCreateTXGRange(t *testing.T) {
|
|||||||
Until: &CreateTXGRangeBound{0, &zfs.NilBool{B: true}},
|
Until: &CreateTXGRangeBound{0, &zfs.NilBool{B: true}},
|
||||||
},
|
},
|
||||||
configAllowZeroCreateTXG: true,
|
configAllowZeroCreateTXG: true,
|
||||||
expectString: "~,0]",
|
expectString: "~,0]",
|
||||||
expect: []testCaseExpectation{
|
expect: []testCaseExpectation{
|
||||||
{0, true},
|
{0, true},
|
||||||
{math.MaxUint64, false},
|
{math.MaxUint64, false},
|
||||||
@ -188,8 +189,8 @@ func TestCreateTXGRange(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "edgeUntilNegative",
|
name: "edgeUntilNegative",
|
||||||
expectInvalid: true,
|
expectInvalid: true,
|
||||||
configAllowZeroCreateTXG: true,
|
configAllowZeroCreateTXG: true,
|
||||||
config: &CreateTXGRange{
|
config: &CreateTXGRange{
|
||||||
Until: &CreateTXGRangeBound{0, &zfs.NilBool{B: false}},
|
Until: &CreateTXGRangeBound{0, &zfs.NilBool{B: false}},
|
||||||
|
Reference in New Issue
Block a user