Skip to content

Commit

Permalink
Fix prepublish test on Windows.
Browse files Browse the repository at this point in the history
On my system, it listed the full directory name, not just "."
  • Loading branch information
domenic committed Nov 26, 2013
1 parent 0193298 commit a27a3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tap/prepublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test('test', function (t) {
function onend () {
c = c.trim()
var regex = new RegExp("" +
"> [email protected] prepublish .\\r?\\n" +
"> [email protected] prepublish [^\\r\\n]+\\r?\\n" +
"> echo ok\\r?\\n" +
"\\r?\\n" +
"ok\\r?\\n" +
Expand Down

0 comments on commit a27a3f4

Please sign in to comment.