Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Alferov committed Oct 17, 2015
1 parent 9eaf4df commit 23a2f5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ describe('parse-github-url', function () {
assert.equal(gh('http://github.com/assemble').repo, null);
assert.equal(gh('http://github.com/assemble').repopath, null);
assert.equal(gh('http://github.com/assemble').user, 'assemble');
assert.equal(gh('https://github.com').repo, null);
assert.equal(gh('https://github.com').repopath, null);
assert.equal(gh('https://github.com').user, null);
});
it('should get the repo:', function () {
assert.equal(gh('assemble/verb#branch').repo, 'verb');
Expand Down

0 comments on commit 23a2f5c

Please sign in to comment.