Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: tests/compiler/dart2js/platform_config_parser_test.dart

Issue 2990223002: Reformat untouched files. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/patch_test.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("""
« no previous file with comments | « tests/compiler/dart2js/patch_test.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698