[flutter_tools] ensure --dart-define can parse args with commas (#73798)
This commit is contained in:
@@ -17,6 +17,6 @@ void main() {
|
||||
});
|
||||
|
||||
test('Can run with --dart-define', () async {
|
||||
await driver.waitFor(find.text('ExampleValue'));
|
||||
await driver.waitFor(find.text('Example,AValue'));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ Future<void> main() async {
|
||||
final StringBuffer output = StringBuffer();
|
||||
const String combined = String.fromEnvironment('test.valueA') +
|
||||
String.fromEnvironment('test.valueB');
|
||||
if (combined == 'ExampleValue') {
|
||||
if (combined == 'Example,AValue') {
|
||||
output.write('--- TEST SUCCEEDED ---');
|
||||
print('--- TEST SUCCEEDED ---');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user