@@ -140,8 +140,7 @@ main() {
140
140
{
141
141
'a|lib/a.txt' : 'a' ,
142
142
'a|lib/a.txt.copy' : 'a' ,
143
- 'a|$assetGraphPath ' :
144
- JSON .encode (emptyGraph.serialize ()),
143
+ 'a|$assetGraphPath ' : JSON .encode (emptyGraph.serialize ()),
145
144
},
146
145
status: BuildStatus .Failure ,
147
146
exceptionMatcher: invalidOutputException);
@@ -269,8 +268,7 @@ main() {
269
268
'a|lib/a.txt.copy.clone' : 'a' ,
270
269
'a|lib/b.txt.copy' : 'b' ,
271
270
'a|lib/b.txt.copy.clone' : 'b' ,
272
- 'a|$assetGraphPath ' :
273
- JSON .encode (graph.serialize ()),
271
+ 'a|$assetGraphPath ' : JSON .encode (graph.serialize ()),
274
272
},
275
273
outputs: {'a|lib/a.txt.copy' : 'b' , 'a|lib/a.txt.copy.clone' : 'b' ,},
276
274
writer: writer);
@@ -299,15 +297,14 @@ main() {
299
297
{
300
298
'a|lib/a.txt.copy' : 'a' ,
301
299
'a|lib/a.txt.copy.clone' : 'a' ,
302
- 'a|$assetGraphPath ' :
303
- JSON .encode (graph.serialize ()),
300
+ 'a|$assetGraphPath ' : JSON .encode (graph.serialize ()),
304
301
},
305
302
outputs: {},
306
303
writer: writer);
307
304
308
305
/// Should be deleted using the writer, and removed from the new graph.
309
- var newGraph = new AssetGraph .deserialize (JSON . decode (writer
310
- .assets[makeAssetId ('a|$assetGraphPath ' )].value));
306
+ var newGraph = new AssetGraph .deserialize (
307
+ JSON . decode (writer .assets[makeAssetId ('a|$assetGraphPath ' )].value));
311
308
expect (newGraph.contains (aNode.id), isFalse);
312
309
expect (newGraph.contains (aCopyNode.id), isFalse);
313
310
expect (newGraph.contains (aCloneNode.id), isFalse);
0 commit comments