Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
wooorm committed Jul 19, 2019
1 parent f613df5 commit 3f56027
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@
"xtend": "^4.0.0"
},
"devDependencies": {
"execa": "^1.0.0",
"execa": "^2.0.0",
"nyc": "^14.0.0",
"prettier": "^1.0.0",
"remark": "^10.0.0",
10 changes: 4 additions & 6 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -124,8 +124,7 @@ test('remark-validate-links', function(t) {
'FOOOO',
' 1:1 error No such file or directory',
'',
'✖ 1 error',
''
'✖ 1 error'
].join('\n'),
'should report an error'
)
@@ -159,8 +158,7 @@ test('remark-validate-links', function(t) {
'definitions.md',
' 10:1-10:18 warning Link to unknown heading: `world` missing-heading remark-validate-links',
'',
'2 messages (✖ 1 error, ⚠ 1 warning)',
''
'2 messages (✖ 1 error, ⚠ 1 warning)'
].join('\n'),
'should report an error'
)
@@ -477,7 +475,7 @@ test('remark-validate-links', function(t) {
},
function(err) {
clean()
st.ok(/not a git repository/i.test(err), 'should fail')
st.ok(/not a git repository/i.test(err.stderr), 'should fail')
}
)

@@ -509,7 +507,7 @@ test('remark-validate-links', function(t) {
},
function(err) {
clean()
st.ok(/Could not find remote origin/.test(err), 'should fail')
st.ok(/Could not find remote origin/.test(err.stderr), 'should fail')
}
)

0 comments on commit 3f56027

Please sign in to comment.