From a28f926237c3de58c202843bea7913c276d0cbbc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 27 May 2015 16:33:23 +0100 Subject: [PATCH] Tiny cleanup to test. --- test/audio_decoder_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc index 7b7fa637b..8e570f674 100644 --- a/test/audio_decoder_test.cc +++ b/test/audio_decoder_test.cc @@ -154,8 +154,7 @@ BOOST_AUTO_TEST_CASE (audio_decoder_get_audio_test) for (int i = 0; i < content->audio_channels(); ++i) { for (int j = 0; j < ca->audio->frames(); ++j) { - BOOST_CHECK_EQUAL (ca->audio->data(i)[j], j + from); - assert (ca->audio->data(i)[j] == j + from); + BOOST_REQUIRE_EQUAL (ca->audio->data(i)[j], j + from); } } } -- 2.30.2