summaryrefslogtreecommitdiff
path: root/tests/test_matching.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2011-04-10 17:11:56 -0700
committerDaniel Burrows <dburrows@debian.org>2011-04-10 17:11:56 -0700
commitee6a95f300d8a45b34896381a97e4ceb4b693295 (patch)
tree162acd00abc0efec49c98710b6a55e78305d76da /tests/test_matching.cc
parente1af5de24499e0c3ff4ea3aea76008d6b184f799 (diff)
downloadaptitude-ee6a95f300d8a45b34896381a97e4ceb4b693295.tar.gz
Fix serializing ?term-prefix.
Also added ?term-prefix to the test suite (oops).
Diffstat (limited to 'tests/test_matching.cc')
-rw-r--r--tests/test_matching.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_matching.cc b/tests/test_matching.cc
index 7692c05a..815335fe 100644
--- a/tests/test_matching.cc
+++ b/tests/test_matching.cc
@@ -776,6 +776,9 @@ namespace
{ "?term(development)", "?term(\"development\")",
pattern::make_term("development") },
+ { "?term-prefix(aptitu)", "?term-prefix(\"aptitu\")",
+ pattern::make_term_prefix("aptitu") },
+
{ "?upgradable", "?upgradable", pattern::make_upgradable() },
{ "~U", "?upgradable", pattern::make_upgradable() },