summaryrefslogtreecommitdiff
path: root/source/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/file.test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/tests/file.test.c b/source/tests/file.test.c
index 2a37c07..86a88e2 100644
--- a/source/tests/file.test.c
+++ b/source/tests/file.test.c
@@ -270,10 +270,8 @@ TEST("file map write") {
REQUIRE_EQ(n, 3);
fclose(f);
- if (n == 3) {
- printf("READ: %d %d %d \n", buf[0], buf[1], buf[2]);
+ if (n == 3)
REQUIRE_EQ(memcmp(buf, "bar", 3), 0);
- }
file_remove(SZ("foo"));
}