aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/fs.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-23 17:24:52 +0900
committerOphestra <cat@gensokyo.uk>2025-03-23 17:24:52 +0900
commit46059b1840fe08a887944f7f6bd085f83defe66e (patch)
tree2a1f15a422b9e2a903d96562e95cd7e79a358de5 /test/sandbox/fs.go
parentd2c329bceaf146da4cf5a619761c50491356a82d (diff)
test/sandbox: print mismatching file content
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/fs.go')
-rw-r--r--test/sandbox/fs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sandbox/fs.go b/test/sandbox/fs.go
index fd1aa2c5..68dcecfb 100644
--- a/test/sandbox/fs.go
+++ b/test/sandbox/fs.go
@@ -84,6 +84,8 @@ func (s *FS) Compare(prefix string, e fs.FS) error {
return err
} else if string(v) != *want.Data {
printf("[FAIL] f %s", name)
+ printf("got: %s", v)
+ printf("want: %s", *want.Data)
return ErrFSBadData
}
printf("[ OK ] f %s", name)