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

Unified Diff: lib/pub_serve.dart

Issue 1095693002: Fix "pub serve" for VM tests. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 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 | « CHANGELOG.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/pub_serve.dart
diff --git a/lib/pub_serve.dart b/lib/pub_serve.dart
index 900460d81da4b21a5e5cde23ee2846da3ff4898a..aae6a24ce5c9894428759a50541d108d7f47adc4 100644
--- a/lib/pub_serve.dart
+++ b/lib/pub_serve.dart
@@ -29,6 +29,7 @@ class PubServeTransformer extends Transformer implements DeclaringTransformer {
transform.addOutput(
new Asset.fromString(id.addExtension('.vm_test.dart'), '''
+import "package:test/src/backend/metadata.dart";
import "package:test/src/runner/vm/isolate_listener.dart";
import "${p.url.basename(id.path)}" as test;
« no previous file with comments | « CHANGELOG.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698