mirror of
https://github.com/github/codeql.git
synced 2026-04-18 13:34:02 +02:00
While I would have preferred to add a proper unit test, this required more infrastructure for mocking system calls. Instead I made `qltest.sh` accept a `//codeql-extractor-env` header and used that to write a QL test exercising the `RUN_UNDER` functionality.
5 lines
59 B
Plaintext
5 lines
59 B
Plaintext
import swift
|
|
|
|
from StringLiteralExpr s
|
|
select s.getValue()
|