summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/ext/extent_test.go
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2019-07-23 20:34:49 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-23 20:36:04 -0700
commit7e38d643334647fb79c7cc8be35745699de264e6 (patch)
treef6470d9f953dc7274ee98f1af62736a7493ef68c /pkg/sentry/fs/ext/extent_test.go
parentd7bb79b6f177e8c58d47695e0ee1a072475463c4 (diff)
ext: Inode creation logic.
PiperOrigin-RevId: 259666476
Diffstat (limited to 'pkg/sentry/fs/ext/extent_test.go')
-rw-r--r--pkg/sentry/fs/ext/extent_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/ext/extent_test.go b/pkg/sentry/fs/ext/extent_test.go
index 9e55187e5..b3f342c8e 100644
--- a/pkg/sentry/fs/ext/extent_test.go
+++ b/pkg/sentry/fs/ext/extent_test.go
@@ -146,7 +146,7 @@ func TestExtentTree(t *testing.T) {
}
opt := cmpopts.IgnoreUnexported(disklayout.ExtentIdx{}, disklayout.ExtentHeader{})
- if diff := cmp.Diff(&mockInode.root, node0, opt); diff != "" {
+ if diff := cmp.Diff(mockInode.root, node0, opt); diff != "" {
t.Errorf("extent tree mismatch (-want +got):\n%s", diff)
}
}