X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/595e59c568ff5f8510de201bfd800951cdc2adcb..863aeead864a309c494893a1b06ec33ed2b7daf1:/src/xbt/ex.cpp diff --git a/src/xbt/ex.cpp b/src/xbt/ex.cpp index b0f5564aa7..9115b407e0 100644 --- a/src/xbt/ex.cpp +++ b/src/xbt/ex.cpp @@ -227,10 +227,10 @@ XBT_TEST_UNIT("cleanup", test_cleanup, "cleanup handling") c = 1; if (v1 != 5678) xbt_test_fail("v1 = %d (!= 5678)", v1); - if (!(ex.category == 1 && ex.value == 2 && !strcmp(ex.what(), "blah"))) + if (not(ex.category == 1 && ex.value == 2 && not strcmp(ex.what(), "blah"))) xbt_test_fail("unexpected exception contents"); } - if (!c) + if (not c) xbt_test_fail("xbt_ex_free not executed"); } #endif /* SIMGRID_TEST */