Skip to content

Commit

Permalink
Merge pull request apidoc#49 from marshalys/master
Browse files Browse the repository at this point in the history
fix unit test error on macOS because line ending on macOS is '\r'
  • Loading branch information
rottmann authored Oct 18, 2016
2 parents a12de92 + 059982c commit 43b1e75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/apidoc_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ describe('apiDoc full parse', function() {
});

api = apidoc.parse({
src: exampleBasePath + '/src/'
src: exampleBasePath + '/src/',
lineEnding: '\n'
});

if (api === false)
Expand Down

0 comments on commit 43b1e75

Please sign in to comment.