summaryrefslogtreecommitdiffstats
path: root/test/git.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/git.js')
-rw-r--r--test/git.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/git.js b/test/git.js
index 8667b07..9fd7490 100644
--- a/test/git.js
+++ b/test/git.js
@@ -10,14 +10,14 @@ describe('Git', function() {
it('should correctly validate git urls', function() {
// HTTPS
- Git.isUrl('git+https://github.com/Hello/world.git').should.be.ok;
+ Git.isUrl('git+https://github.com/Hello/world.git').should.be.ok();
// SSH
Git.isUrl('git+git@github.com:GitbookIO/gitbook.git/directory/README.md#e1594cde2c32e4ff48f6c4eff3d3d461743d74e1').should.be.ok;
// Non valid
- Git.isUrl('https://github.com/Hello/world.git').should.not.be.ok;
- Git.isUrl('README.md').should.not.be.ok;
+ Git.isUrl('https://github.com/Hello/world.git').should.not.be.ok();
+ Git.isUrl('README.md').should.not.be.ok();
});
it('should parse HTTPS urls', function() {