diff --git a/tests/datarule.cpp b/tests/datarule.cpp index de6c6d39534bf80048a673d2a71a16effe3d61d9..281d913d1110d4db7b4340df4845908e775fc3b7 100644 --- a/tests/datarule.cpp +++ b/tests/datarule.cpp @@ -152,7 +152,7 @@ void test_one_rule_item_actual(const rule_compare_test& c) } boost::shared_ptr<Corpus2::TokenReader> reader; std::string ofn = c.output_corpus.filename(); - if (ofn.find("ccl") != ofn.npos) { + if (ofn.find("ccl") != ofn.npos || ofn.find("match") != ofn.npos) { reader = Corpus2::TokenReader::create_path_reader("ccl", tagset, c.output_corpus.string()); } else { reader = Corpus2::TokenReader::create_path_reader("xces", tagset, c.output_corpus.string());