From ee2fd9169ecef9e21f65eb4aaafc7ef26e0f5245 Mon Sep 17 00:00:00 2001 From: Klemens David Morgenstern Date: Thu, 24 Jan 2019 18:17:26 +0800 Subject: [PATCH] Actually broke it --- test/criterion_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/criterion_test.c b/test/criterion_test.c index 32c0a4f..dfed5b7 100644 --- a/test/criterion_test.c +++ b/test/criterion_test.c @@ -6,14 +6,14 @@ Test(suite_1, test_1) cr_expect(2, "Dummy test"); cr_expect(0, "foo"); - cr_assert_eq(3, 3, "Foobar %i", 42); - cr_assert_neq(4, 3, "Boofar %i", 42); + cr_assert_eq(2, 3, "Foobar %i", 42); + cr_assert_neq(3, 3, "Boofar %i", 42); } Test(sample, test) { cr_expect(strlen("Test") == 4, "Expected \"Test\" to have a length of 4."); - cr_expect(strlen("Hello") == 5, "Comparing another string"); + cr_expect(strlen("Hello") == 4, "Comparing another string"); cr_assert(strlen("") == 0); } \ No newline at end of file