Skip to content

Commit e12c007

Browse files
authored
Add regression test for #624. (#1618)
This is doing what users want in the new tall style. \o/ Close #624.
1 parent 1198bf7 commit e12c007

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

test/tall/regression/0600/0624.unit

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
>>>
2+
var x = [
3+
"long value that won't fit everywhere",
4+
"long value that won't fit everywhere",
5+
"long value that won't fit everywhere"
6+
];
7+
8+
get y => [
9+
"long value that won't fit everywhere",
10+
"long value that won't fit everywhere",
11+
"long value that won't fit everywhere"
12+
];
13+
<<<
14+
var x = [
15+
"long value that won't fit everywhere",
16+
"long value that won't fit everywhere",
17+
"long value that won't fit everywhere",
18+
];
19+
20+
get y => [
21+
"long value that won't fit everywhere",
22+
"long value that won't fit everywhere",
23+
"long value that won't fit everywhere",
24+
];
25+
>>>
26+
class C {
27+
@override
28+
List<Source> get outputs => const <Source>[
29+
Source.pattern('{OUTPUT_DIR}/vm_snapshot_data'),
30+
Source.pattern('{OUTPUT_DIR}/isolate_snapshot_data'),
31+
Source.pattern('{OUTPUT_DIR}/kernel_blob.bin'),
32+
];
33+
34+
@override
35+
List<String> get depfiles => <String>[
36+
'flutter_assets.d', // Force split.
37+
];
38+
}
39+
<<<
40+
class C {
41+
@override
42+
List<Source> get outputs => const <Source>[
43+
Source.pattern('{OUTPUT_DIR}/vm_snapshot_data'),
44+
Source.pattern('{OUTPUT_DIR}/isolate_snapshot_data'),
45+
Source.pattern('{OUTPUT_DIR}/kernel_blob.bin'),
46+
];
47+
48+
@override
49+
List<String> get depfiles => <String>[
50+
'flutter_assets.d', // Force split.
51+
];
52+
}

0 commit comments

Comments
 (0)