Index: tests/compiler/dart2js/use_strict_test.dart |
diff --git a/tests/compiler/dart2js/use_strict_test.dart b/tests/compiler/dart2js/use_strict_test.dart |
index d3eb09b756a6b6a9e594b827ef5a8573d261da42..0461fb75b020d4126aecbfd50a9ad79896af4cd9 100644 |
--- a/tests/compiler/dart2js/use_strict_test.dart |
+++ b/tests/compiler/dart2js/use_strict_test.dart |
@@ -9,7 +9,7 @@ import 'memory_compiler.dart'; |
// Use strict does not allow parameters or locals named "arguments" or "eval". |
const MEMORY_SOURCE_FILES = const { |
- 'main.dart': ''' |
+ 'main.dart': ''' |
class A { |
final arguments; |
final eval; |
@@ -42,7 +42,8 @@ const MEMORY_SOURCE_FILES = const { |
for (int i = 0; i < list.length; i++) { |
print(list[i].foo(i, i + 1)); |
} |
- }'''}; |
+ }''' |
+}; |
main() { |
OutputCollector collector = new OutputCollector(); |
@@ -54,9 +55,8 @@ main() { |
// Skip comments. |
List<String> lines = jsOutput.split("\n"); |
RegExp commentLine = new RegExp(r' *//'); |
- String filtered = lines |
- .where((String line) => !commentLine.hasMatch(line)) |
- .join("\n"); |
+ String filtered = |
+ lines.where((String line) => !commentLine.hasMatch(line)).join("\n"); |
// TODO(floitsch): we will need to adjust this filter if we start using |
// 'eval' or 'arguments' ourselves. Currently we disallow any 'eval' or |