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

Unified Diff: packages/barback/test/package_graph/source_test.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 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
Index: packages/barback/test/package_graph/source_test.dart
diff --git a/packages/barback/test/package_graph/source_test.dart b/packages/barback/test/package_graph/source_test.dart
index b5763a8136ab366eae133a0ab1b4c3bca940ed39..8b8aecb71101c8398577c97fd7fe98b4a0cc1489 100644
--- a/packages/barback/test/package_graph/source_test.dart
+++ b/packages/barback/test/package_graph/source_test.dart
@@ -41,9 +41,13 @@ main() {
});
test("gets a source asset if not transformed", () {
- initGraph(["app|foo.txt"], {"app": [
- [new RewriteTransformer("nottxt", "whatever")]
- ]});
+ initGraph([
+ "app|foo.txt"
+ ], {
+ "app": [
+ [new RewriteTransformer("nottxt", "whatever")]
+ ]
+ });
updateSources(["app|foo.txt"]);
expectAsset("app|foo.txt");
@@ -64,7 +68,13 @@ main() {
test("collapses redundant updates", () {
var transformer = new RewriteTransformer("blub", "blab");
- initGraph(["app|foo.blub"], {"app": [[transformer]]});
+ initGraph([
+ "app|foo.blub"
+ ], {
+ "app": [
+ [transformer]
+ ]
+ });
schedule(() {
// Make a bunch of synchronous update calls.
@@ -122,7 +132,14 @@ main() {
test("restarts a build if a source is updated while sources are loading", () {
var transformer = new RewriteTransformer("txt", "out");
- initGraph(["app|foo.txt", "app|other.bar"], {"app": [[transformer]]});
+ initGraph([
+ "app|foo.txt",
+ "app|other.bar"
+ ], {
+ "app": [
+ [transformer]
+ ]
+ });
// Run the whole graph so all nodes are clean.
updateSources(["app|foo.txt", "app|other.bar"]);

Powered by Google App Engine
This is Rietveld 408576698