Skip to content

Commit 54d6522

Browse files
committed
dartfmt
1 parent 7bdc9e0 commit 54d6522

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

test/generate/build_test.dart

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ main() {
140140
{
141141
'a|lib/a.txt': 'a',
142142
'a|lib/a.txt.copy': 'a',
143-
'a|$assetGraphPath':
144-
JSON.encode(emptyGraph.serialize()),
143+
'a|$assetGraphPath': JSON.encode(emptyGraph.serialize()),
145144
},
146145
status: BuildStatus.Failure,
147146
exceptionMatcher: invalidOutputException);
@@ -269,8 +268,7 @@ main() {
269268
'a|lib/a.txt.copy.clone': 'a',
270269
'a|lib/b.txt.copy': 'b',
271270
'a|lib/b.txt.copy.clone': 'b',
272-
'a|$assetGraphPath':
273-
JSON.encode(graph.serialize()),
271+
'a|$assetGraphPath': JSON.encode(graph.serialize()),
274272
},
275273
outputs: {'a|lib/a.txt.copy': 'b', 'a|lib/a.txt.copy.clone': 'b',},
276274
writer: writer);
@@ -299,15 +297,14 @@ main() {
299297
{
300298
'a|lib/a.txt.copy': 'a',
301299
'a|lib/a.txt.copy.clone': 'a',
302-
'a|$assetGraphPath':
303-
JSON.encode(graph.serialize()),
300+
'a|$assetGraphPath': JSON.encode(graph.serialize()),
304301
},
305302
outputs: {},
306303
writer: writer);
307304

308305
/// 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));
311308
expect(newGraph.contains(aNode.id), isFalse);
312309
expect(newGraph.contains(aCopyNode.id), isFalse);
313310
expect(newGraph.contains(aCloneNode.id), isFalse);

test/generate/watch_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ main() {
114114
result = await nextResult(results);
115115
checkOutputs({'a|web/c.txt.copy': 'c'}, result, writer.assets);
116116

117-
var cachedGraph = new AssetGraph.deserialize(JSON.decode(writer
118-
.assets[makeAssetId('a|$assetGraphPath')].value));
117+
var cachedGraph = new AssetGraph.deserialize(
118+
JSON.decode(writer.assets[makeAssetId('a|$assetGraphPath')].value));
119119

120120
var expectedGraph = new AssetGraph();
121121
var bCopyNode = makeAssetNode('a|web/b.txt.copy');

0 commit comments

Comments
 (0)