diff options
Diffstat (limited to 'lib/fmtutil')
-rw-r--r-- | lib/fmtutil/bitfield.go | 2 | ||||
-rw-r--r-- | lib/fmtutil/fmt.go | 2 | ||||
-rw-r--r-- | lib/fmtutil/fmt_test.go | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/fmtutil/bitfield.go b/lib/fmtutil/bitfield.go index b3dbe0a..d46fee5 100644 --- a/lib/fmtutil/bitfield.go +++ b/lib/fmtutil/bitfield.go @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: GPL-2.0-or-later -package util +package fmtutil import ( "fmt" diff --git a/lib/fmtutil/fmt.go b/lib/fmtutil/fmt.go index c36ba2a..a45ac58 100644 --- a/lib/fmtutil/fmt.go +++ b/lib/fmtutil/fmt.go @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: GPL-2.0-or-later -package util +package fmtutil import ( "fmt" diff --git a/lib/fmtutil/fmt_test.go b/lib/fmtutil/fmt_test.go index 0aaebb5..2c63c2e 100644 --- a/lib/fmtutil/fmt_test.go +++ b/lib/fmtutil/fmt_test.go @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: GPL-2.0-or-later -package util_test +package fmtutil_test import ( "fmt" @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" - "git.lukeshu.com/btrfs-progs-ng/lib/util" + "git.lukeshu.com/btrfs-progs-ng/lib/fmtutil" ) type FmtState struct { @@ -94,10 +94,10 @@ func FuzzFmtStateString(f *testing.F) { } verb := rune(verbs[int(verbIdx)%len(verbs)]) - t.Logf("(%#v, %c) => %q", input, verb, util.FmtStateString(input, verb)) + t.Logf("(%#v, %c) => %q", input, verb, fmtutil.FmtStateString(input, verb)) var output FmtState - assert.Equal(t, "", fmt.Sprintf(util.FmtStateString(input, verb), &output)) + assert.Equal(t, "", fmt.Sprintf(fmtutil.FmtStateString(input, verb), &output)) assert.Equal(t, input, output) }) } |