Skip to content

Commit 6598a66

Browse files
committed
JS: Use set literal
1 parent 543e183 commit 6598a66

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

javascript/ql/test/library-tests/EndpointNaming/EndpointNaming.ql

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,7 @@ import testUtilities.InlineExpectationsTest
66
import EndpointNaming::Debug
77

88
module TestConfig implements TestSig {
9-
string getARelevantTag() {
10-
result = "instance"
11-
or
12-
result = "class"
13-
or
14-
result = "method"
15-
or
16-
result = "alias"
17-
}
9+
string getARelevantTag() { result = ["instance", "class", "method", "alias"] }
1810

1911
predicate hasActualResult(Location location, string element, string tag, string value) {
2012
exists(string package, string name |

0 commit comments

Comments
 (0)