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

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

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/source_map_name_test.dart ('k') | tests/compiler/dart2js/source_map_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/source_map_pub_build_validity_test.dart
diff --git a/tests/compiler/dart2js/source_map_pub_build_validity_test.dart b/tests/compiler/dart2js/source_map_pub_build_validity_test.dart
index 71fd04c9433f2001c456b5d8e80d212737b63424..5eaff5b7256f96d7506c58cf949799ecafee32d2 100644
--- a/tests/compiler/dart2js/source_map_pub_build_validity_test.dart
+++ b/tests/compiler/dart2js/source_map_pub_build_validity_test.dart
@@ -20,20 +20,20 @@ void main() {
copyDirectory(sunflowerDir, tmpDir);
String ext = Platform.isWindows ? '.bat' : '';
String command = path.normalize(path.join(
- path.fromUri(Platform.script),
- '../../../../sdk/bin/pub${ext}'));
+ path.fromUri(Platform.script), '../../../../sdk/bin/pub${ext}'));
String file = path.join(tmpDir.path, 'build/web/sunflower.dart.js');
print("Running '$command get' from '${tmpDir}'.");
- ProcessResult getResult = await Process.run(
- command, ['get'], workingDirectory: tmpDir.path);
+ ProcessResult getResult =
+ await Process.run(command, ['get'], workingDirectory: tmpDir.path);
print(getResult.stdout);
print(getResult.stderr);
Expect.equals(0, getResult.exitCode, 'Unexpected exitCode from pub get');
print("Running '$command build --mode=debug' from '${tmpDir}'.");
ProcessResult buildResult = await Process.run(
- command, ['build','--mode=debug'], workingDirectory: tmpDir.path);
+ command, ['build', '--mode=debug'],
+ workingDirectory: tmpDir.path);
print(buildResult.stdout);
print(buildResult.stderr);
Expect.equals(0, buildResult.exitCode, 'Unexpected exitCode from pub');
« no previous file with comments | « tests/compiler/dart2js/source_map_name_test.dart ('k') | tests/compiler/dart2js/source_map_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698