JS: Use set literal

This commit is contained in:
Asger F
2024-02-13 09:30:35 +01:00
parent 543e183d99
commit 6598a669a1

View File

@@ -6,15 +6,7 @@ import testUtilities.InlineExpectationsTest
import EndpointNaming::Debug
module TestConfig implements TestSig {
string getARelevantTag() {
result = "instance"
or
result = "class"
or
result = "method"
or
result = "alias"
}
string getARelevantTag() { result = ["instance", "class", "method", "alias"] }
predicate hasActualResult(Location location, string element, string tag, string value) {
exists(string package, string name |