Index: tests/compiler/dart2js/platform_config_parser_test.dart |
diff --git a/tests/compiler/dart2js/platform_config_parser_test.dart b/tests/compiler/dart2js/platform_config_parser_test.dart |
index 2769086b617f4c26f0c63f64a1a1da052289b095..16db3e30928c138d7950631bf486b9a25a009bec 100644 |
--- a/tests/compiler/dart2js/platform_config_parser_test.dart |
+++ b/tests/compiler/dart2js/platform_config_parser_test.dart |
@@ -35,11 +35,9 @@ test(String input, [Map<String, Map<String, String>> expectedOutput]) { |
main() { |
// Empty file. |
- test( |
- """ |
+ test(""" |
# Nothing here |
-""", |
- {}); |
+""", {}); |
// Text outside section. |
test(""" |
@@ -82,36 +80,30 @@ name:value |
"""); |
// Ok. |
- test( |
- """ |
+ test(""" |
[AA] |
name:value |
[BB] |
name:value |
name2:value2 |
-""", |
- { |
- "AA": {"name": "value"}, |
- "BB": {"name": "value", "name2": "value2"} |
- }); |
+""", { |
+ "AA": {"name": "value"}, |
+ "BB": {"name": "value", "name2": "value2"} |
+ }); |
// Ok, file not ending in newline. |
- test( |
- """ |
+ test(""" |
[AA] |
-name:value""", |
- { |
- "A": {"name": "value"} |
- }); |
+name:value""", { |
+ "A": {"name": "value"} |
+ }); |
// Ok, whitespace is trimmed away. |
- test( |
- """ |
+ test(""" |
[ AA ] |
- name\t: value """, |
- { |
- "A": {"name": "value"} |
- }); |
+ name\t: value """, { |
+ "A": {"name": "value"} |
+ }); |
// Duplicate property name. |
test(""" |