mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Merge branch 'rc/1.19' into merge-rc
This commit is contained in:
15508
csharp/ql/test/library-tests/extractor/longstrings/LongStrings.cs
Normal file
15508
csharp/ql/test/library-tests/extractor/longstrings/LongStrings.cs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
| Test passed |
|
||||
@@ -0,0 +1,9 @@
|
||||
import csharp
|
||||
|
||||
from StringLiteral ascii, StringLiteral utf8
|
||||
where
|
||||
ascii.getValue().length() = 1048576 and
|
||||
// UTF8 encoding can vary a little from platform to platform
|
||||
utf8.getValue().length() > 440000 and
|
||||
utf8.getValue().length() < 450000
|
||||
select "Test passed"
|
||||
Reference in New Issue
Block a user