-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reformatted code, fixed lint issues and added tests
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,10 @@ var tests = { | |
assert.equal('"module name","license","repository"', str.split('\n')[0]); | ||
assert.equal('"[email protected]","ISC","https://github.com/isaacs/abbrev-js"', str.split('\n')[1]); | ||
}, | ||
'and convert to MarkDown': function(d) { | ||
var str = checker.asMarkDown(d); | ||
assert.equal('[[email protected]](https://github.com/isaacs/abbrev-js) - ISC', str.split('\n')[0]); | ||
}, | ||
'should parse local without unknown': { | ||
topic: function () { | ||
var self = this; | ||
|