From 8b327c4eaae7bebc29c1e5194818889727f82ada Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 14 Mar 2017 20:28:38 +0100 Subject: [PATCH] Renable test due to M_EACH handling the case of having only _cref operator. --- tests/test-mbitset.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test-mbitset.c b/tests/test-mbitset.c index b9beacdd..fcefa01b 100644 --- a/tests/test-mbitset.c +++ b/tests/test-mbitset.c @@ -103,15 +103,14 @@ static void test1(void) assert (v == c); n++; } -#if 0 + n = 0; - for M_CEACH (item, set, BITSET_OPLIST) { + for M_EACH (item, set, BITSET_OPLIST) { bool v = (n*17547854547UL)&1; bool c = *item; assert (v == c); n++; } -#endif assert(bitset_size(set2) == 50); assert(bitset_size(set) == 200);