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

Unified Diff: test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart

Issue 1523323004: Install barback from a hosted source in all tests. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Merge for real. Created 5 years 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 | « test/serve/defaults_to_debug_mode_test.dart ('k') | test/serve/native_watch_replaced_file_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart
diff --git a/test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart b/test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart
index 5758d27b7eb8f44bf13c60d321bb32a9f82f5ba0..61adb0eb60ff958520b6463afb0b307e255abd0e 100644
--- a/test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart
+++ b/test/serve/does_not_crash_if_an_unused_dart_file_has_a_syntax_error_test.dart
@@ -10,10 +10,13 @@ import 'utils.dart';
main() {
integration("doesn't crash if an unused .dart file has a syntax error", () {
+ serveBarback();
+
d.dir(appPath, [
d.pubspec({
"name": "myapp",
- "transformers": ["myapp/src/transformer"]
+ "transformers": ["myapp/src/transformer"],
+ "dependencies": {"barback": "any"}
}),
d.dir("lib", [d.dir("src", [
d.file("transformer.dart", REWRITE_TRANSFORMER),
@@ -24,8 +27,7 @@ main() {
])
]).create();
- createLockFile('myapp', pkg: ['barback']);
-
+ pubGet();
var server = pubServe();
requestShouldSucceed("foo.out", "foo.out");
endPubServe();
« no previous file with comments | « test/serve/defaults_to_debug_mode_test.dart ('k') | test/serve/native_watch_replaced_file_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698