Permalink
Browse files

fix unit test error on macOS because line ending on macOS is '\r'

  • Loading branch information...
1 parent a12de92 commit 059982c59498d3404a357660fb5cca2396b5412a @marshalys marshalys committed Oct 18, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/apidoc_test.js
View
@@ -94,7 +94,8 @@ describe('apiDoc full parse', function() {
});
api = apidoc.parse({
- src: exampleBasePath + '/src/'
+ src: exampleBasePath + '/src/',
+ lineEnding: '\n'
});
if (api === false)

0 comments on commit 059982c

Please sign in to comment.