From bf8307f78d8ec7944f7f6c016d0dd893914ce891 Mon Sep 17 00:00:00 2001 From: Taus Date: Tue, 16 Apr 2024 21:17:34 +0200 Subject: [PATCH] Python: Fix flags test In https://github.com/github/codeql/commit/25cb52aa52b30744575e6e8bfc1ec03a70bd265d I accidentally introduced an extra `not` where none existed before. Whoops! --- python/ql/test/extractor-tests/flags/Flags.ql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ql/test/extractor-tests/flags/Flags.ql b/python/ql/test/extractor-tests/flags/Flags.ql index c0f71c77680..60a484d7f09 100644 --- a/python/ql/test/extractor-tests/flags/Flags.ql +++ b/python/ql/test/extractor-tests/flags/Flags.ql @@ -2,7 +2,7 @@ import python from string k, string v where - not k.matches("options.%") and + k.matches("options.%") and not k.matches("options.verbos%") and py_flags_versioned(k, v, _) select k, v