A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Throw std::out_of_range.
[simgrid.git]
/
src
/
xbt
/
config_test.cpp
diff --git
a/src/xbt/config_test.cpp
b/src/xbt/config_test.cpp
index
dd89d9e
..
8b41924
100644
(file)
--- a/
src/xbt/config_test.cpp
+++ b/
src/xbt/config_test.cpp
@@
-49,10
+49,7
@@
TEST_CASE("xbt::config: Configuration support", "config")
INFO("Access to a non-existant entry");
INFO("Access to a non-existant entry");
- REQUIRE_THROWS_MATCHES(
- simgrid::config::set_parse("color:blue"), xbt_ex,
- Catch::Matchers::Predicate<xbt_ex>([](xbt_ex const& e) { return e.category == not_found_error; },
- "category not_found_error"));
+ REQUIRE_THROWS_AS(simgrid::config::set_parse("color:blue"), std::out_of_range);
simgrid::config::finalize();
simgrid_config = temp;
simgrid::config::finalize();
simgrid_config = temp;