Add keyword member to KeyworLocation

This commit is contained in:
Joakim Hove
2020-09-16 14:21:50 +02:00
parent bef5a4c27b
commit d283f1858f
5 changed files with 13 additions and 8 deletions

View File

@@ -674,7 +674,7 @@ BOOST_AUTO_TEST_CASE(TestFieldAND) {
BOOST_AUTO_TEST_CASE(Conditions) {
auto location = KeywordLocation("File", 100);
auto location = KeywordLocation("Keyword", "File", 100);
// Missing comparator
BOOST_CHECK_THROW(Action::Condition cond({"WWCT", "OPX"}, location), std::invalid_argument);