Skip to content

Commit 7c941ca

Browse files
committed
fix: code fmted
1 parent 59eaa08 commit 7c941ca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/storage/filesystem/btrfs_ci_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ func basePoolTest(t *testing.T, pool Pool) {
159159
assert.Equal(t, path.Join("/mnt", pool.Name(), "subvol1"), volume.Path())
160160
})
161161

162-
163162
t.Run("test list volumes", func(t *testing.T) {
164163
volumes, err := pool.Volumes()
165164
require.NoError(t, err)
@@ -187,7 +186,7 @@ func basePoolTest(t *testing.T, pool Pool) {
187186
require.NoError(t, err)
188187

189188
// Note: an empty subvolume has an overhead of 16384 bytes
190-
assert.Equal(t, Usage{Used: 50*1024*1024, Size: 50 * 1024 * 1024}, usage)
189+
assert.Equal(t, Usage{Used: 50 * 1024 * 1024, Size: 50 * 1024 * 1024}, usage)
191190
})
192191

193192
t.Run("test remove subvolume", func(t *testing.T) {
@@ -256,7 +255,7 @@ func TestCLeanUpQgroupsCI(t *testing.T) {
256255

257256
qgroups, err := btrfsVol.utils.QGroupList(context.TODO(), pool.Path())
258257
require.NoError(t, err)
259-
258+
260259
// it start with a volume of size 16384 by default
261260
assert.Equal(t, 2, len(qgroups))
262261
t.Logf("qgroups before delete: %v", qgroups)

0 commit comments

Comments
 (0)