summaryrefslogtreecommitdiffstats
path: root/test/git.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-09-15 14:21:27 +0200
committerSamy Pessé <samypesse@gmail.com>2015-09-15 14:21:27 +0200
commit6732957e42350b3aefa4b1c80371baea92950651 (patch)
tree1605473bf22c7e4ab90a6cc9bebf5cb807fa1d90 /test/git.js
parent5f56098ae7fae80a4dd75a944c38201560b480c6 (diff)
parent1fd00068595dfced5a0f16ac05ae2553d09608bc (diff)
downloadgitbook-6732957e42350b3aefa4b1c80371baea92950651.zip
gitbook-6732957e42350b3aefa4b1c80371baea92950651.tar.gz
gitbook-6732957e42350b3aefa4b1c80371baea92950651.tar.bz2
Merge pull request #930 from GitbookIO/jshint
Add config for jshint and fix lint errors
Diffstat (limited to 'test/git.js')
-rw-r--r--test/git.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/git.js b/test/git.js
index f03bec2..6fd6b41 100644
--- a/test/git.js
+++ b/test/git.js
@@ -1,8 +1,8 @@
-var should = require('should');
-var git = require('../lib/utils/git');
+var should = require("should");
+var git = require("../lib/utils/git");
-describe('GIT parser and getter', function () {
- it('should correctly parse an https url', function() {
+describe("GIT parser and getter", function () {
+ it("should correctly parse an https url", function() {
var parts = git.parseUrl("git+https://gist.github.com/69ea4542e4c8967d2fa7.git/test.md");
should.exist(parts);
@@ -11,7 +11,7 @@ describe('GIT parser and getter', function () {
parts.filepath.should.be.equal("test.md");
});
- it('should correctly parse an https url with a reference', function() {
+ it("should correctly parse an https url with a reference", function() {
var parts = git.parseUrl("git+https://gist.github.com/69ea4542e4c8967d2fa7.git/test.md#0.1.2");
should.exist(parts);
@@ -20,7 +20,7 @@ describe('GIT parser and getter', function () {
parts.filepath.should.be.equal("test.md");
});
- it('should correctly parse an ssh url', function() {
+ it("should correctly parse an ssh url", function() {
var parts = git.parseUrl("git+git@github.com:GitbookIO/gitbook.git/directory/README.md#e1594cde2c32e4ff48f6c4eff3d3d461743d74e1");
should.exist(parts);