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

Unified Diff: tests/standalone/io/test_extension_fail_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/standalone/io/test_extension_fail_test.dart
diff --git a/tests/standalone/io/test_extension_fail_test.dart b/tests/standalone/io/test_extension_fail_test.dart
index c9893678c11a44fbdcee82dd4a37d12926c3cbf0..8ef31d2447043d5de205bd589ee37582e23b9dda 100644
--- a/tests/standalone/io/test_extension_fail_test.dart
+++ b/tests/standalone/io/test_extension_fail_test.dart
@@ -41,8 +41,8 @@ bool checkExitCode(int code) {
bool checkStdError(String err) {
return err.contains("Unhandled exception:") ||
- err.contains(
- "Native extension path must be absolute, or simply the file name");
+ err.contains(
+ "Native extension path must be absolute, or simply the file name");
}
// name is either "extension" or "relative_extension"
@@ -55,8 +55,8 @@ Future test(String name, bool checkForBall) {
// Copy test_extension shared library, test_extension.dart and
// test_extension_fail_tester.dart to the temporary test directory.
- copyFileToDirectory(getExtensionPath(buildDirectory),
- testDirectory).then((_) {
+ copyFileToDirectory(getExtensionPath(buildDirectory), testDirectory)
+ .then((_) {
var extensionDartFile = join(scriptDirectory, 'test_${name}.dart');
return copyFileToDirectory(extensionDartFile, testDirectory);
}).then((_) {

Powered by Google App Engine
This is Rietveld 408576698