Index: pkg/analyzer/test/error_test.dart |
diff --git a/pkg/analyzer/test/error_test.dart b/pkg/analyzer/test/error_test.dart |
index 9724fde6b4112fa784c458152293d4019ebf7487..b39662497344a8b226d7a37b2146ad70805cc708 100644 |
--- a/pkg/analyzer/test/error_test.dart |
+++ b/pkg/analyzer/test/error_test.dart |
@@ -18,40 +18,34 @@ void main() { |
}); |
test("an error on the first line", () { |
- expect( |
- errorsForFile('void foo;\n'), |
+ expect(errorsForFile('void foo;\n'), |
equals("Error in test.dart: Variables cannot have a type of 'void'\n")); |
}); |
test("an error on the last line", () { |
- expect( |
- errorsForFile('\nvoid foo;'), |
+ expect(errorsForFile('\nvoid foo;'), |
equals("Error in test.dart: Variables cannot have a type of 'void'\n")); |
}); |
test("an error in the middle", () { |
- expect( |
- errorsForFile('\nvoid foo;\n'), |
+ expect(errorsForFile('\nvoid foo;\n'), |
equals("Error in test.dart: Variables cannot have a type of 'void'\n")); |
}); |
var veryLongString = new List.filled(107, ' ').join(''); |
test("an error at the end of a very long line", () { |
- expect( |
- errorsForFile('$veryLongString void foo;'), |
+ expect(errorsForFile('$veryLongString void foo;'), |
equals("Error in test.dart: Variables cannot have a type of 'void'\n")); |
}); |
test("an error at the beginning of a very long line", () { |
- expect( |
- errorsForFile('void foo; $veryLongString'), |
+ expect(errorsForFile('void foo; $veryLongString'), |
equals("Error in test.dart: Variables cannot have a type of 'void'\n")); |
}); |
test("an error in the middle of a very long line", () { |
- expect( |
- errorsForFile('$veryLongString void foo;$veryLongString'), |
+ expect(errorsForFile('$veryLongString void foo;$veryLongString'), |
equals("Error in test.dart: Variables cannot have a type of 'void'\n")); |
}); |
} |