summaryrefslogtreecommitdiff
path: root/lib/btrfsutil/rebuilt_forrest_test.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-04 09:42:44 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-04-13 22:56:16 -0600
commitca4a23bc3c088b6a0222f7bf2c2bae5a3d7f9959 (patch)
treebbfd277a1d0b60afa1f61a7ef107169895cb866a /lib/btrfsutil/rebuilt_forrest_test.go
parent504c3695c7dae682504335a47e1f0f873f95ca30 (diff)
btrfsutil: RebuiltForrest: Naively implement the new btrfs.ReadableFS API
Diffstat (limited to 'lib/btrfsutil/rebuilt_forrest_test.go')
-rw-r--r--lib/btrfsutil/rebuilt_forrest_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfsutil/rebuilt_forrest_test.go b/lib/btrfsutil/rebuilt_forrest_test.go
index 6f80eff..96749c4 100644
--- a/lib/btrfsutil/rebuilt_forrest_test.go
+++ b/lib/btrfsutil/rebuilt_forrest_test.go
@@ -188,6 +188,6 @@ func TestRebuiltTreeParentErr(t *testing.T) {
rfs := NewRebuiltForrest(nil, Graph{}, cbs)
tree, err := rfs.RebuiltTree(ctx, 305)
- assert.EqualError(t, err, `failed to rebuild parent tree: 304: failed to look up ROOT_ITEM`)
+ assert.EqualError(t, err, `failed to rebuild parent tree: 304: tree does not exist`)
assert.Nil(t, tree)
}