Skip to content

Commit

Permalink
Add regression test for #624. (#1618)
Browse files Browse the repository at this point in the history
This is doing what users want in the new tall style. \o/

Close #624.
  • Loading branch information
munificent authored Dec 9, 2024
1 parent 1198bf7 commit e12c007
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions test/tall/regression/0600/0624.unit
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
>>>
var x = [
"long value that won't fit everywhere",
"long value that won't fit everywhere",
"long value that won't fit everywhere"
];

get y => [
"long value that won't fit everywhere",
"long value that won't fit everywhere",
"long value that won't fit everywhere"
];
<<<
var x = [
"long value that won't fit everywhere",
"long value that won't fit everywhere",
"long value that won't fit everywhere",
];

get y => [
"long value that won't fit everywhere",
"long value that won't fit everywhere",
"long value that won't fit everywhere",
];
>>>
class C {
@override
List<Source> get outputs => const <Source>[
Source.pattern('{OUTPUT_DIR}/vm_snapshot_data'),
Source.pattern('{OUTPUT_DIR}/isolate_snapshot_data'),
Source.pattern('{OUTPUT_DIR}/kernel_blob.bin'),
];

@override
List<String> get depfiles => <String>[
'flutter_assets.d', // Force split.
];
}
<<<
class C {
@override
List<Source> get outputs => const <Source>[
Source.pattern('{OUTPUT_DIR}/vm_snapshot_data'),
Source.pattern('{OUTPUT_DIR}/isolate_snapshot_data'),
Source.pattern('{OUTPUT_DIR}/kernel_blob.bin'),
];

@override
List<String> get depfiles => <String>[
'flutter_assets.d', // Force split.
];
}

0 comments on commit e12c007

Please sign in to comment.