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

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

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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/lib_strong/mirrors/variable_is_const_test.dart ('k') | tests/standalone/packages_file_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/platform_resolved_executable_test.dart
diff --git a/tests/standalone/io/platform_resolved_executable_test.dart b/tests/standalone/io/platform_resolved_executable_test.dart
index 9d8b6b458d85b38e89bc7335d668ed6d7a07e09e..3dbbd7c33820b6f0ee4fa1601c49704e7063684a 100644
--- a/tests/standalone/io/platform_resolved_executable_test.dart
+++ b/tests/standalone/io/platform_resolved_executable_test.dart
@@ -13,7 +13,7 @@ const _SCRIPT_KEY = '_test_script';
void expectEquals(a, b) {
if (a != b) {
throw 'Expected: $a\n'
- ' Actual: $b';
+ ' Actual: $b';
}
}
@@ -28,10 +28,10 @@ void verify(String exePath, {String altPath}) {
if (processResult.exitCode != 0) {
throw 'Error with process\n'
- '$scriptPath'
- 'Exit code: ${processResult.exitCode}\n'
- ' STDOUT: ${processResult.stdout}\n'
- ' STDERR: ${processResult.stderr}\n';
+ '$scriptPath'
+ 'Exit code: ${processResult.exitCode}\n'
+ ' STDOUT: ${processResult.stdout}\n'
+ ' STDERR: ${processResult.stderr}\n';
}
var result = processResult.stdout.trim();
@@ -47,15 +47,15 @@ void testShouldFailOutsidePath() {
var threw = false;
try {
Process.runSync(platformExeName, ['--version'],
- includeParentEnvironment: false,
- environment: {_SCRIPT_KEY: 'yes', 'PATH': ''});
+ includeParentEnvironment: false,
+ environment: {_SCRIPT_KEY: 'yes', 'PATH': ''});
} catch (_) {
threw = true;
}
if (!threw) {
throw 'Expected running the dart executable – "$platformExeName" without'
- ' the parent environment or path to fail.';
+ ' the parent environment or path to fail.';
}
}
« no previous file with comments | « tests/lib_strong/mirrors/variable_is_const_test.dart ('k') | tests/standalone/packages_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698