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

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

Issue 1934883002: Refactor unittests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/operators_test_file.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/zero_termination_test.dart
diff --git a/tests/compiler/dart2js/zero_termination_test.dart b/tests/compiler/dart2js/zero_termination_test.dart
index 501fb42d8d14d748ac2741827d326193b497cb28..fbfeab756a0d2f6ddd1743c8115e3901b432c878 100644
--- a/tests/compiler/dart2js/zero_termination_test.dart
+++ b/tests/compiler/dart2js/zero_termination_test.dart
@@ -67,7 +67,8 @@ void check(ProcessResult result) {
}
Future testFile() async {
- String inFilePath = pathOfData.resolve('one_line_dart_program.dart').path;
+ String inFilePath =
+ pathOfData.resolve('data/one_line_dart_program.dart').path;
List<String> args = [inFilePath, "--out=" + outFilePath];
await cleanup();
@@ -77,7 +78,7 @@ Future testFile() async {
Future serverRunning(HttpServer server) async {
int port = server.port;
- String inFilePath = "http://127.0.0.1:$port/one_line_dart_program.dart";
+ String inFilePath = "http://127.0.0.1:$port/data/one_line_dart_program.dart";
List<String> args = [inFilePath, "--out=" + outFilePath];
server.listen(handleRequest);
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/operators_test_file.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698