Skip to content

Commit 509aba6

Browse files
committed
Remove generateString tests with raw string usage
1 parent 325e25a commit 509aba6

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

dev/tools/test/localization/gen_l10n_test.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,12 +1037,7 @@ void main() {
10371037
test('handles string with both triple single and triple double quote', () {
10381038
expect(generateString('''a\'''\'''\''b"""c'''), """'a' "'''" "'''" '''''b\"""c'''""");
10391039
});
1040-
test('handles dollar', () {
1041-
expect(generateString(r'ab$c'), r"r'ab$c'");
1042-
});
1043-
test('handles back slash', () {
1044-
expect(generateString(r'ab\c'), r"r'ab\c'");
1045-
});
1040+
10461041
test("doesn't support multiline strings", () {
10471042
expect(() => generateString('ab\nc'), throwsA(isA<AssertionError>()));
10481043
});

0 commit comments

Comments
 (0)