X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/85897b1307bb68f05f31385803f1b3a5b806a73f..d8888df4d713c0e6e23ce338e1adbc61a6d0421c:/src/xbt/config.c diff --git a/src/xbt/config.c b/src/xbt/config.c index 0dadc2f331..8c91ca0110 100644 --- a/src/xbt/config.c +++ b/src/xbt/config.c @@ -1249,11 +1249,12 @@ XBT_TEST_UNIT("use",test_config_use,"Data retrieving tests") { { /* non-existant_entry */ xbt_cfg_t myset=make_set(); + xbt_ex_t e; TRY { xbt_cfg_set_parse(myset, "color:blue"); } CATCH(e) { - if (e.category != mismatch_error) + if (e.category != not_found_error) xbt_test_exception(e); xbt_ex_free(e); }