Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33e6b5e

Browse files
committed
C#: Fix tests
1 parent 8bb1af8 commit 33e6b5e

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
| 443093 |
2-
| 1048576 |
1+
| Test passed |
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import csharp
22

3-
from StringLiteral lit
4-
select lit.getValue().length()
3+
from StringLiteral ascii, StringLiteral utf8
4+
where
5+
ascii.getValue().length() = 1048576 and
6+
// UTF8 encoding can vary a little from platform to platform
7+
utf8.getValue().length() > 440000 and
8+
utf8.getValue().length() < 450000
9+
select "Test passed"

0 commit comments

Comments
 (0)