Skip to content

Commit 9a6549c

Browse files
authored
Fix lint and unittest issues (#584)
1 parent 78ac0b0 commit 9a6549c

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

test/lib/filter_access.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ test('filterAccess explicit public', function (t) {
3636
{ access: 'protected' },
3737
{ foo: 2 },
3838
{ access: 'private' }]),
39-
[{
40-
access: 'public'
41-
}]);
39+
[{
40+
access: 'public'
41+
}]);
4242
t.end();
4343
});
4444

test/lib/flow_doctrine.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ test('flowDoctrine', function (t) {
225225
// TODO: remove all these types
226226
t.deepEqual(types, [
227227
'IntersectionTypeAnnotation',
228+
'EmptyTypeAnnotation',
228229
'ThisTypeAnnotation',
229230
'TypeofTypeAnnotation'
230231
], 'Type coverage');

test/lib/parsers/polyglot.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ test('polyglot', function (t) {
2727
description: remark().parse('color'),
2828
type: { name: 'number', type: 'NameExpression' } } ],
2929
tags: [ { description: null, lineNumber: 2, name: 'hexToUInt32Color', title: 'name' },
30-
{ description: null, lineNumber: 3, name: 'hex', title: 'param', type: {
31-
name: 'string', type: 'NameExpression'
32-
} },
33-
{ description: 'color', lineNumber: 4, title: 'returns', type: {
34-
name: 'number', type: 'NameExpression'
35-
} } ] } ], 'polyglot parser');
30+
{ description: null, lineNumber: 3, name: 'hex', title: 'param', type: {
31+
name: 'string', type: 'NameExpression'
32+
} },
33+
{ description: 'color', lineNumber: 4, title: 'returns', type: {
34+
name: 'number', type: 'NameExpression'
35+
} } ] } ], 'polyglot parser');
3636
t.end();
3737
});

0 commit comments

Comments
 (0)