Files
codeql/java/ql/test/library-tests/module-info-wrong-name/Diags.ql
Chris Smowton 6ea7b195db Add test for a module declaration made in a file named other than module-info.java
This triggers a weird corner case in our extractor, which used to throw a null pointer exception.
2023-09-14 17:42:00 +01:00

5 lines
133 B
Plaintext

import java
import semmle.code.java.Diagnostics
select any(Diagnostic d | not d.toString().matches("Not rewriting trap file for%"))