diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2016-08-24 11:07:38 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2016-08-24 11:07:38 +0300 |
commit | f1c482eaf49ac1d122759a437c60d07282aa126e (patch) | |
tree | 9fb239b249384838964d09e06c227ee85b1284f2 | |
parent | c489a27399281d4202ef9fa148266da7be8636b9 (diff) | |
download | libatomic_ops-f1c482eaf49ac1d122759a437c60d07282aa126e.tar.gz |
Fix assertions style in test_atomic_include
Use TA_assert consistently (not assert).
* tests/test_atomic_include.template (test_atomicXX): Replace assert()
calls with TA_assert().
-rw-r--r-- | tests/test_atomic_include.template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_atomic_include.template b/tests/test_atomic_include.template index 60068b5..06894cd 100644 --- a/tests/test_atomic_include.template +++ b/tests/test_atomic_include.template @@ -66,9 +66,9 @@ void test_atomicXX(void) MISSING(AO_load); # endif # if defined(AO_HAVE_test_and_setXX) - assert(AO_test_and_setXX(&z) == AO_TS_CLEAR); - assert(AO_test_and_setXX(&z) == AO_TS_SET); - assert(AO_test_and_setXX(&z) == AO_TS_SET); + TA_assert(AO_test_and_setXX(&z) == AO_TS_CLEAR); + TA_assert(AO_test_and_setXX(&z) == AO_TS_SET); + TA_assert(AO_test_and_setXX(&z) == AO_TS_SET); AO_CLEAR(&z); # else MISSING(AO_test_and_set); |