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/ls.cpp b/tests/ls.cpp index e3287ee..47d28ed 100644 --- a/tests/ls.cpp +++ b/tests/ls.cpp
@@ -172,6 +172,6 @@ input = "lssecond:a"; } - REQUIRE_THROWS(parser.parseCommand(input, errorStream)); + REQUIRE_THROWS_AS(parser.parseCommand(input, errorStream), InvalidCommandException&); } }