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

Unified Diff: pkg/barback/test/static_provider_test.dart

Issue 597343002: Fix a bug in barback's static package handling. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/barback/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/static_provider_test.dart
diff --git a/pkg/barback/test/static_provider_test.dart b/pkg/barback/test/static_provider_test.dart
index 08aad6f9b9cc9ba504bf3415c7b8d651339dadc3..4bd44f9972082d86e4ba0362a7a329a4562485a2 100644
--- a/pkg/barback/test/static_provider_test.dart
+++ b/pkg/barback/test/static_provider_test.dart
@@ -31,4 +31,10 @@ main() {
updateSources(["app|a.txt"]);
expectAsset("app|a.out", "b");
});
+
+ test("can list all static assets", () {
+ initStaticGraph(["app|foo.txt", "app|bar.txt", "app|baz.txt"],
+ staticPackages: ["app"]);
+ expectAllAssets(["app|foo.txt", "app|bar.txt", "app|baz.txt"]);
+ });
}
« no previous file with comments | « pkg/barback/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698