Update Catch and trompeloeil
This updates Catch from 1.x to 2.y, so there's a bunch of
incompatibilities.
Change-Id: I7e03bdd57fb73d786d38349d2c46361e6636890c
Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/1567
diff --git a/tests/presence_containers.cpp b/tests/presence_containers.cpp
index 6872d1b..91b3e95 100644
--- a/tests/presence_containers.cpp
+++ b/tests/presence_containers.cpp
@@ -106,7 +106,7 @@
input = "list[quote='lol']";
}
- REQUIRE_THROWS_AS(parser.parseCommand("create " + input, errorStream), InvalidCommandException&);
- REQUIRE_THROWS_AS(parser.parseCommand("delete " + input, errorStream), InvalidCommandException&);
+ REQUIRE_THROWS_AS(parser.parseCommand("create " + input, errorStream), InvalidCommandException);
+ REQUIRE_THROWS_AS(parser.parseCommand("delete " + input, errorStream), InvalidCommandException);
}
}