summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/libapt/pattern_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libapt/pattern_test.cc b/test/libapt/pattern_test.cc
index 492a29eac..39959cd31 100644
--- a/test/libapt/pattern_test.cc
+++ b/test/libapt/pattern_test.cc
@@ -158,4 +158,5 @@ TEST(TreeParserTest, ParseShortPattern)
EXPECT_PATTERN_EQ_ATOMIC("~U", "?upgradable");
EXPECT_PATTERN_EQ("~Vverstr", "?version(verstr)");
EXPECT_PATTERN_EQ_ATOMIC("~v", "?virtual");
+ EXPECT_PATTERN_EQ("!foo", "?not(foo)");
}