File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed
java/ql/test/library-tests/literals Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
| BooleanLiterals.java:5:3:5:6 | true | true | true |
2
2
| BooleanLiterals.java:6:3:6:7 | false | false | false |
3
- | BooleanLiterals.java:8:8 :8:26 | 4 \\u0072\\u0075\\u0065 | true | true |
3
+ | BooleanLiterals.java:8:3 :8:26 | \\u0074 \\u0072\\u0075\\u0065 | true | true |
4
4
| BooleanLiterals.java:13:3:13:6 | true | true | true |
5
5
| BooleanLiterals.java:13:11:13:14 | true | true | true |
6
6
| BooleanLiterals.java:14:3:14:7 | false | false | false |
Original file line number Diff line number Diff line change 13
13
| CharLiterals.java:18:3:18:10 | '\\uDC00' | \ufffd | 56320 |
14
14
| CharLiterals.java:20:3:20:16 | '\\u005C\\u005C' | \\ | 92 |
15
15
| CharLiterals.java:21:3:21:16 | '\\u005C\\u0027' | ' | 39 |
16
- | CharLiterals.java:22:8 :22:15 | 7a \\u0027 | a | 97 |
16
+ | CharLiterals.java:22:3 :22:15 | \\u0027a \\u0027 | a | 97 |
17
17
| CharLiterals.java:27:4:27:6 | 'a' | a | 97 |
18
18
| CharLiterals.java:28:4:28:6 | 'a' | a | 97 |
19
19
| CharLiterals.java:33:3:33:5 | 'a' | a | 97 |
Original file line number Diff line number Diff line change 12
12
| DoubleLiterals.java:17:3:17:10 | 4.9e-324 | 4.9E-324 | 4.9E-324 |
13
13
| DoubleLiterals.java:18:3:18:28 | 0x0.0_0000_0000_0001P-1022 | 4.9E-324 | 4.9E-324 |
14
14
| DoubleLiterals.java:19:3:19:13 | 0x1.0P-1074 | 4.9E-324 | 4.9E-324 |
15
- | DoubleLiterals.java:21:8 :21:20 | 0 \\u002E\\u0030 | 0.0 | 0.0 |
15
+ | DoubleLiterals.java:21:3 :21:20 | \\u0030 \\u002E\\u0030 | 0.0 | 0.0 |
16
16
| DoubleLiterals.java:26:4:26:6 | 0.0 | 0.0 | 0.0 |
17
17
| DoubleLiterals.java:27:4:27:6 | 0.0 | 0.0 | 0.0 |
18
18
| DoubleLiterals.java:28:4:28:6 | 1.0 | 1.0 | 1.0 |
Original file line number Diff line number Diff line change 11
11
| FloatLiterals.java:16:3:16:10 | 1.4e-45f | 1.4E-45 | 1.4E-45 |
12
12
| FloatLiterals.java:17:3:17:18 | 0x0.000002P-126f | 1.4E-45 | 1.4E-45 |
13
13
| FloatLiterals.java:18:3:18:13 | 0x1.0P-149f | 1.4E-45 | 1.4E-45 |
14
- | FloatLiterals.java:20:8 :20:26 | 0 \\u002E\\u0030\\u0066 | 0.0 | 0.0 |
14
+ | FloatLiterals.java:20:3 :20:26 | \\u0030 \\u002E\\u0030\\u0066 | 0.0 | 0.0 |
15
15
| FloatLiterals.java:25:4:25:6 | 0.f | 0.0 | 0.0 |
16
16
| FloatLiterals.java:26:4:26:6 | 0.f | 0.0 | 0.0 |
17
17
| FloatLiterals.java:27:4:27:7 | 1.0f | 1.0 | 1.0 |
Original file line number Diff line number Diff line change 18
18
| IntegerLiterals.java:23:3:23:13 | 0xffff_ffff | -1 | -1 |
19
19
| IntegerLiterals.java:24:3:24:16 | 0377_7777_7777 | -1 | -1 |
20
20
| IntegerLiterals.java:25:3:25:43 | 0b1111_1111_1111_1111_1111_1111_1111_1111 | -1 | -1 |
21
- | IntegerLiterals.java:27:8 :27:8 | 0 | 0 | 0 |
21
+ | IntegerLiterals.java:27:3 :27:8 | \\u0030 | 0 | 0 |
22
22
| IntegerLiterals.java:32:4:32:4 | 0 | 0 | 0 |
23
23
| IntegerLiterals.java:33:4:33:4 | 0 | 0 | 0 |
24
24
| IntegerLiterals.java:34:4:34:4 | 1 | 1 | 1 |
Original file line number Diff line number Diff line change 18
18
| LongLiterals.java:23:3:23:24 | 0xffff_ffff_ffff_ffffL | -1 |
19
19
| LongLiterals.java:24:3:24:31 | 017_7777_7777_7777_7777_7777L | -1 |
20
20
| LongLiterals.java:25:3:25:84 | 0b1111_1111_1111_1111_1111_1111_1111_1111_1111_1111_1111_1111_1111_1111_1111_1111L | -1 |
21
- | LongLiterals.java:27:8 :27:14 | 0 \\u004C | 0 |
21
+ | LongLiterals.java:27:3 :27:14 | \\u0030 \\u004C | 0 |
22
22
| LongLiterals.java:32:4:32:5 | 0L | 0 |
23
23
| LongLiterals.java:33:4:33:5 | 0L | 0 |
24
24
| LongLiterals.java:34:4:34:5 | 1L | 1 |
Original file line number Diff line number Diff line change 1
1
| NullLiterals.java:5:3:5:6 | null | null |
2
- | NullLiterals.java:7:8 :7:26 | null | null |
2
+ | NullLiterals.java:7:3 :7:26 | null | null |
3
3
| NullLiterals.java:12:12:12:15 | null | null |
Original file line number Diff line number Diff line change 21
21
| StringLiterals.java:29:3:29:10 | "\\uDC00" | \ufffd | |
22
22
| StringLiterals.java:30:3:30:31 | "hello\\uD800hello\\uDC00world" | hello\ufffdhello\ufffdworld | |
23
23
| StringLiterals.java:32:3:32:16 | "\\u005C\\u0022" | " | |
24
- | StringLiterals.java:33:8 :33:20 | 2 \\u0061\\u0022 | a | |
24
+ | StringLiterals.java:33:3 :33:20 | \\u0022 \\u0061\\u0022 | a | |
25
25
| StringLiterals.java:38:3:40:5 | """ \t \n\t\ttest "text" and escaped \\u0022\n\t\t""" | test "text" and escaped "\n | text-block |
26
26
| StringLiterals.java:42:3:44:5 | """\n\t\t\tindented\n\t\t""" | \tindented\n | text-block |
27
27
| StringLiterals.java:45:3:47:5 | """\n\tno indentation last line\n\t\t""" | no indentation last line\n | text-block |
35
35
| StringLiterals.java:70:3:71:18 | """\n\t\t3 quotes:""\\"""" | 3 quotes:""" | text-block |
36
36
| StringLiterals.java:72:3:75:5 | """\n\t\tline \\\n\t\tcontinuation \\\n\t\t""" | line continuation | text-block |
37
37
| StringLiterals.java:76:3:80:5 | """\n\t\tExplicit line breaks:\\n\n\t\t\\r\\n\n\t\t\\r\n\t\t""" | Explicit line breaks:\n\n\r\n\n\r\n | text-block |
38
- | StringLiterals.java:83:10 :85:16 | 2 "\\u0022\n\t\ttest\n\t\t\\u0022\\uu0022" | test\n | |
38
+ | StringLiterals.java:83:3 :85:16 | \\uuu0022 "\\u0022\n\t\ttest\n\t\t\\u0022\\uu0022" | test\n | |
39
39
| StringLiterals.java:91:3:91:19 | "hello" + "world" | helloworld | |
40
40
| StringLiterals.java:92:3:93:20 | """\n\t\thello""" + "world" | helloworld | text-block |
41
41
| StringLiterals.java:94:10:94:12 | "a" | a | |
You can’t perform that action at this time.
0 commit comments