aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-09-23 13:35:09 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-23 13:35:09 +0300
commit64ea04886ae7769db53bef175652531af240fb83 (patch)
tree1f31a0e8a31d311ace9ffa42f1785524f0c363ef /testdata
parenttests.test_pkgcheck_scan: fix issues with xdist testing (diff)
downloadpkgcheck-64ea04886ae7769db53bef175652531af240fb83.tar.gz
pkgcheck-64ea04886ae7769db53bef175652531af240fb83.tar.bz2
pkgcheck-64ea04886ae7769db53bef175652531af240fb83.zip
EmptyGlobalAssignment: check for empty global assignments
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'testdata')
-rw-r--r--testdata/data/repos/standalone/MetadataVarCheck/EmptyGlobalAssignment/expected.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/testdata/data/repos/standalone/MetadataVarCheck/EmptyGlobalAssignment/expected.json b/testdata/data/repos/standalone/MetadataVarCheck/EmptyGlobalAssignment/expected.json
new file mode 100644
index 00000000..2e861fc0
--- /dev/null
+++ b/testdata/data/repos/standalone/MetadataVarCheck/EmptyGlobalAssignment/expected.json
@@ -0,0 +1,3 @@
+{"__class__": "EmptyGlobalAssignment", "category": "DescriptionCheck", "package": "BadDescription", "version": "1", "line": "DESCRIPTION=\"\"", "lineno": 1}
+{"__class__": "EmptyGlobalAssignment", "category": "MetadataVarCheck", "package": "MultipleKeywordsLines", "version": "0", "line": "KEYWORDS=\"\"", "lineno": 8}
+{"__class__": "EmptyGlobalAssignment", "category": "MetadataVarCheck", "package": "ReferenceInMetadataVar", "version": "3", "line": "LICENSE=\"\"", "lineno": 5}