Skip to content

Commit 0bf7e07

Browse files
yo-hsmowton
authored andcommitted
Java 17: adjust expected test output
1 parent 27b699d commit 0bf7e07

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

java/ql/test/library-tests/literals/booleanLiterals/booleanLiterals.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| BooleanLiterals.java:5:3:5:6 | true | true | true |
22
| 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 |
44
| BooleanLiterals.java:13:3:13:6 | true | true | true |
55
| BooleanLiterals.java:13:11:13:14 | true | true | true |
66
| BooleanLiterals.java:14:3:14:7 | false | false | false |

java/ql/test/library-tests/literals/charLiterals/charLiterals.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| CharLiterals.java:18:3:18:10 | '\\uDC00' | \ufffd | 56320 |
1414
| CharLiterals.java:20:3:20:16 | '\\u005C\\u005C' | \\ | 92 |
1515
| 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 |
1717
| CharLiterals.java:27:4:27:6 | 'a' | a | 97 |
1818
| CharLiterals.java:28:4:28:6 | 'a' | a | 97 |
1919
| CharLiterals.java:33:3:33:5 | 'a' | a | 97 |

java/ql/test/library-tests/literals/doubleLiterals/doubleLiterals.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| DoubleLiterals.java:17:3:17:10 | 4.9e-324 | 4.9E-324 | 4.9E-324 |
1313
| DoubleLiterals.java:18:3:18:28 | 0x0.0_0000_0000_0001P-1022 | 4.9E-324 | 4.9E-324 |
1414
| 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 |
1616
| DoubleLiterals.java:26:4:26:6 | 0.0 | 0.0 | 0.0 |
1717
| DoubleLiterals.java:27:4:27:6 | 0.0 | 0.0 | 0.0 |
1818
| DoubleLiterals.java:28:4:28:6 | 1.0 | 1.0 | 1.0 |

java/ql/test/library-tests/literals/floatLiterals/floatLiterals.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| FloatLiterals.java:16:3:16:10 | 1.4e-45f | 1.4E-45 | 1.4E-45 |
1212
| FloatLiterals.java:17:3:17:18 | 0x0.000002P-126f | 1.4E-45 | 1.4E-45 |
1313
| 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 |
1515
| FloatLiterals.java:25:4:25:6 | 0.f | 0.0 | 0.0 |
1616
| FloatLiterals.java:26:4:26:6 | 0.f | 0.0 | 0.0 |
1717
| FloatLiterals.java:27:4:27:7 | 1.0f | 1.0 | 1.0 |

java/ql/test/library-tests/literals/integerLiterals/integerLiterals.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
| IntegerLiterals.java:23:3:23:13 | 0xffff_ffff | -1 | -1 |
1919
| IntegerLiterals.java:24:3:24:16 | 0377_7777_7777 | -1 | -1 |
2020
| 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 |
2222
| IntegerLiterals.java:32:4:32:4 | 0 | 0 | 0 |
2323
| IntegerLiterals.java:33:4:33:4 | 0 | 0 | 0 |
2424
| IntegerLiterals.java:34:4:34:4 | 1 | 1 | 1 |

java/ql/test/library-tests/literals/longLiterals/longLiterals.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
| LongLiterals.java:23:3:23:24 | 0xffff_ffff_ffff_ffffL | -1 |
1919
| LongLiterals.java:24:3:24:31 | 017_7777_7777_7777_7777_7777L | -1 |
2020
| 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 |
2222
| LongLiterals.java:32:4:32:5 | 0L | 0 |
2323
| LongLiterals.java:33:4:33:5 | 0L | 0 |
2424
| LongLiterals.java:34:4:34:5 | 1L | 1 |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
| 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 |
33
| NullLiterals.java:12:12:12:15 | null | null |

java/ql/test/library-tests/literals/stringLiterals/stringLiterals.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
| StringLiterals.java:29:3:29:10 | "\\uDC00" | \ufffd | |
2222
| StringLiterals.java:30:3:30:31 | "hello\\uD800hello\\uDC00world" | hello\ufffdhello\ufffdworld | |
2323
| 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 | |
2525
| StringLiterals.java:38:3:40:5 | """ \t \n\t\ttest "text" and escaped \\u0022\n\t\t""" | test "text" and escaped "\n | text-block |
2626
| StringLiterals.java:42:3:44:5 | """\n\t\t\tindented\n\t\t""" | \tindented\n | text-block |
2727
| StringLiterals.java:45:3:47:5 | """\n\tno indentation last line\n\t\t""" | no indentation last line\n | text-block |
@@ -35,7 +35,7 @@
3535
| StringLiterals.java:70:3:71:18 | """\n\t\t3 quotes:""\\"""" | 3 quotes:""" | text-block |
3636
| StringLiterals.java:72:3:75:5 | """\n\t\tline \\\n\t\tcontinuation \\\n\t\t""" | line continuation | text-block |
3737
| 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 | |
3939
| StringLiterals.java:91:3:91:19 | "hello" + "world" | helloworld | |
4040
| StringLiterals.java:92:3:93:20 | """\n\t\thello""" + "world" | helloworld | text-block |
4141
| StringLiterals.java:94:10:94:12 | "a" | a | |

0 commit comments

Comments
 (0)