aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/assert.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/sandbox/assert.go')
-rw-r--r--test/sandbox/assert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sandbox/assert.go b/test/sandbox/assert.go
index 8e446268..fff26047 100644
--- a/test/sandbox/assert.go
+++ b/test/sandbox/assert.go
@@ -60,7 +60,7 @@ func MustAssertMounts(name, hostMountsFile, wantFile string) {
if i == len(want) {
fatalf("got more than %d entries", i)
}
- if *e != want[i] {
+ if !e.Is(&want[i]) {
fatalf("entry %d\n got: %s\nwant: %s", i,
e, &want[i])
}