commit | b7a279dc016827f1e55c91c4228216ce071c7526 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubervac@fit.cvut.cz> | Thu Oct 04 15:27:50 2018 +0200 |
committer | Václav Kubernát <kubervac@fit.cvut.cz> | Thu Oct 04 15:27:50 2018 +0200 |
tree | 5df117e57ee3782a393c325fbb08a5348fa2ca06 | |
parent | 6a713d675a07a42fcef267163defb64b18309ec1 [diff] [blame] |
Add exception types to exception tests Change-Id: Ibf5c89f1fd4e994c25b91e29e2f20dcb1165f091
diff --git a/tests/leaf_editing.cpp b/tests/leaf_editing.cpp index d8f21db..a0eeed3 100644 --- a/tests/leaf_editing.cpp +++ b/tests/leaf_editing.cpp
@@ -152,6 +152,6 @@ } } - REQUIRE_THROWS(parser.parseCommand(input, errorStream)); + REQUIRE_THROWS_AS(parser.parseCommand(input, errorStream), InvalidCommandException&); } }