Python: Fix singleton set

This commit is contained in:
Rasmus Wriedt Larsen
2022-05-09 11:01:13 +02:00
parent 36349222a9
commit de05b108fa

View File

@@ -543,7 +543,7 @@ class HttpClientRequestTest extends InlineExpectationsTest {
class XmlParsingTest extends InlineExpectationsTest {
XmlParsingTest() { this = "XmlParsingTest" }
override string getARelevantTag() { result in ["xmlVuln"] }
override string getARelevantTag() { result = "xmlVuln" }
override predicate hasActualResult(Location location, string element, string tag, string value) {
exists(location.getFile().getRelativePath()) and