forked from firka/flutter
Use wildcards (#161548)
https://dart.dev/language/pattern-types#wildcard
This commit is contained in:
committed by
GitHub
parent
1b0441c18a
commit
9cab4ffee1
@@ -295,7 +295,7 @@ static final String tokenBar = 'foo';
|
||||
// Add to printLog instead of printing to stdout
|
||||
void Function() overridePrint(void Function() testFn) => () {
|
||||
final ZoneSpecification spec = ZoneSpecification(
|
||||
print: (_, __, ___, String msg) {
|
||||
print: (_, _, _, String msg) {
|
||||
printLog.add(msg);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user