Skip to content

Commit 7ee862a

Browse files
authored
Merge pull request #19347 from jketema/swift-files-2
Swift: Make file checking in tests more strict
2 parents 03ce2b0 + adb58e3 commit 7ee862a

File tree

1 file changed

+1
-0
lines changed
  • swift/ql/test/library-tests/elements/location

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import swift
22

33
from Location l
4+
where exists(l.getFile().getRelativePath()) or l instanceof UnknownLocation
45
select l

0 commit comments

Comments
 (0)