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

Side by Side Diff: tests/compiler/dart2js/space_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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:io'; 5 import 'dart:io';
6 import 'package:compiler/src/dart2js.dart' 6 import 'package:compiler/src/dart2js.dart' as dart2js;
7 as dart2js;
8 import 'package:compiler/src/commandline_options.dart'; 7 import 'package:compiler/src/commandline_options.dart';
9 8
10 main() { 9 main() {
11 Uri currentDirectory = Uri.base; 10 Uri currentDirectory = Uri.base;
12 Uri script = currentDirectory.resolveUri(Platform.script); 11 Uri script = currentDirectory.resolveUri(Platform.script);
13 Uri libraryRoot = script.resolve('../../../sdk/'); 12 Uri libraryRoot = script.resolve('../../../sdk/');
14 Directory.current = script.resolve("path with spaces").toFilePath(); 13 Directory.current = script.resolve("path with spaces").toFilePath();
15 14
16 return dart2js.main(["--library-root=${libraryRoot.toFilePath()}", 15 return dart2js.main([
17 Flags.analyzeOnly, 16 "--library-root=${libraryRoot.toFilePath()}",
18 "file with spaces.dart"]); 17 Flags.analyzeOnly,
18 "file with spaces.dart"
19 ]);
19 } 20 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/trace_graph.dart ('k') | tests/compiler/dart2js/ssa_phi_codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698