Skip to content

Commit 5a77e83

Browse files
committed
dartfmt
1 parent 4b0a458 commit 5a77e83

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

test/package_meta_test.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ void main() {
2525
});
2626

2727
group('PackageMeta for the test package', () {
28-
PackageMeta p = new PackageMeta.fromDir(new Directory(pathLib.join(Directory.current.path, 'testing', 'test_package')));
28+
PackageMeta p = new PackageMeta.fromDir(new Directory(
29+
pathLib.join(Directory.current.path, 'testing', 'test_package')));
2930

3031
test('readme with corrupt UTF-8 loads without throwing', () {
31-
expect(p.getReadmeContents().contents, contains('Here is some messed up UTF-8.\nÐf'));
32+
expect(p.getReadmeContents().contents,
33+
contains('Here is some messed up UTF-8.\nÐf'));
3234
});
3335
});
3436

test/template_test.dart

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ void main() {
2626
});
2727

2828
test('render with missing url', () {
29-
expect(() =>
30-
_normalize(sitemap.renderString({
31-
'links': [
32-
{'name': 'somefile.html'}
33-
]
34-
})), throwsException);
29+
expect(
30+
() => _normalize(sitemap.renderString({
31+
'links': [
32+
{'name': 'somefile.html'}
33+
]
34+
})),
35+
throwsException);
3536
});
3637

3738
test('substitute multiple links', () {

0 commit comments

Comments
 (0)