From 84d9e3ab6b70f270b91fb7802753651c9f5f3101 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 16 Jan 2018 08:58:39 +0100 Subject: [PATCH] tests: be more descriptive --- tests/unit/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/io.c b/tests/unit/io.c index a29407b56..034733844 100644 --- a/tests/unit/io.c +++ b/tests/unit/io.c @@ -138,7 +138,7 @@ void cr_assert_eq_samples(struct io_format *f, struct sample *smps[], struct sam cr_assert_float_eq(smps[i]->data[j].f, smpt[i]->data[j].f, 1e-3, "Sample data mismatch at index %d: %f != %f", j, smps[i]->data[j].f, smpt[i]->data[j].f); break; case SAMPLE_DATA_FORMAT_INT: - cr_assert_eq(smps[i]->data[j].i, smpt[i]->data[j].i); + cr_assert_eq(smps[i]->data[j].i, smpt[i]->data[j].i, "Sample data mismatch at index %d: %d != %d", j, smps[i]->data[j].i, smpt[i]->data[j].i); break; } }