commit | b61336d40dd280bd7c698aeb895edc193f25eb3d | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubervac@fit.cvut.cz> | Mon May 28 17:35:03 2018 +0200 |
committer | Václav Kubernát <kubervac@fit.cvut.cz> | Mon Jun 04 16:44:23 2018 +0200 |
tree | 20c805950b746bb572d072ce2dee6550cdec20e5 | |
parent | 96344a1ac8a7a6d34eae7434621dc94aa6d916d9 [diff] [blame] |
add presence containers Change-Id: Ic8e33d68e496deae9dfe4c3e5ebcecbd45ee31b2
diff --git a/tests/cd.cpp b/tests/cd.cpp index 83a1f98..2cef615 100644 --- a/tests/cd.cpp +++ b/tests/cd.cpp
@@ -125,8 +125,9 @@ } } - cd_ command = parser.parseCommand(input, errorStream); - REQUIRE(command == expected); + command_ command = parser.parseCommand(input, errorStream); + REQUIRE(command.type() == typeid(cd_)); + REQUIRE(boost::get<cd_>(command) == expected); } SECTION("invalid input") {