diff options
author | Daniel Burrows <dburrows@debian.org> | 2008-09-04 21:09:26 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2008-09-04 21:09:26 -0700 |
commit | 0a527e132fdf82d721e96a16fdb270c677c7dedf (patch) | |
tree | d255031bb75c9c6a88a5878ba96d963535e81be5 /tests | |
parent | 7c27493f2e9bc673200be9253498a203f31f572a (diff) | |
download | aptitude-0a527e132fdf82d721e96a16fdb270c677c7dedf.tar.gz |
Add tests for the ?tag term.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_matching.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_matching.cc b/tests/test_matching.cc index 31e1ee8b..adad31fd 100644 --- a/tests/test_matching.cc +++ b/tests/test_matching.cc @@ -743,6 +743,12 @@ namespace { "?source-version(\"fdsa\")", "?source-version(\"fdsa\")", pattern::make_source_version("fdsa") }, + + { "?tag(type::foo)", "?tag(\"type::foo\")", + pattern::make_tag("type::foo") }, + + { "?tag(type::bar)", "?tag(\"type::bar\")", + pattern::make_tag("type::bar") }, }; const int num_test_patterns = sizeof(test_patterns) / sizeof(test_patterns[0]); |