From 46059b1840fe08a887944f7f6bd085f83defe66e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 23 Mar 2025 17:24:52 +0900 Subject: test/sandbox: print mismatching file content Signed-off-by: Ophestra --- test/sandbox/fs.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/sandbox/fs.go') 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) -- cgit v1.3.1