[flutter_tools] fix multiple defines in flutter tooling, web (#54909)

This commit is contained in:
Jonah Williams
2020-04-15 22:25:32 -07:00
committed by GitHub
parent ac20b614c5
commit b8bd09db21
17 changed files with 112 additions and 53 deletions

View File

@@ -11,7 +11,7 @@ void main() {
runApp(
const Center(
child: Text(
String.fromEnvironment('test.value'),
String.fromEnvironment('test.valueA') + String.fromEnvironment('test.valueB'),
textDirection: TextDirection.ltr,
),
),

View File

@@ -16,7 +16,7 @@ void main() {
await driver.close();
});
test('Can run with --dart-deinfe', () async {
test('Can run with --dart-define', () async {
await driver.waitFor(find.text('ExampleValue'));
});
}