From 734eb472d54fc8fb6bef016e23af7003785a58f9 Mon Sep 17 00:00:00 2001 From: ilor <kailoran@gmail.com> Date: Thu, 28 Apr 2011 10:46:52 +0200 Subject: [PATCH] match rules testing tweak --- tests/datarule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/datarule.cpp b/tests/datarule.cpp index de6c6d3..281d913 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()); -- GitLab