summaryrefslogtreecommitdiffstats
path: root/test/json.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-03-14 23:23:28 +0100
committerSamy Pessé <samypesse@gmail.com>2015-03-14 23:23:28 +0100
commit94485621560152cf197dc8bd603774c46de2f0ef (patch)
tree189aa8349423187a807dd2c2a4b3639d1a752213 /test/json.js
parent8320484b88f2481dad276b1912831110fdf75bcd (diff)
downloadgitbook-94485621560152cf197dc8bd603774c46de2f0ef.zip
gitbook-94485621560152cf197dc8bd603774c46de2f0ef.tar.gz
gitbook-94485621560152cf197dc8bd603774c46de2f0ef.tar.bz2
Add editorconfig and normalize indent
Diffstat (limited to 'test/json.js')
-rw-r--r--test/json.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/json.js b/test/json.js
index c600ffa..d7f6aac 100644
--- a/test/json.js
+++ b/test/json.js
@@ -15,7 +15,7 @@ describe('JSON generator', function () {
});
it('should correctly generate a book to json with sub folders', function(done) {
- testGeneration(books[1], "json", function(output) {
+ testGeneration(books[1], "json", function(output) {
assert(fs.existsSync(path.join(output, "README.json")));
assert(fs.existsSync(path.join(output, "intro.json")));
assert(fs.existsSync(path.join(output, "sub/test1.json")));
@@ -26,7 +26,7 @@ describe('JSON generator', function () {
});
it('should correctly generate a multilingual book to json', function(done) {
- testGeneration(books[2], "json", function(output) {
+ testGeneration(books[2], "json", function(output) {
assert(fs.existsSync(path.join(output, "README.json")));
assert(fs.existsSync(path.join(output, "en/README.json")));
assert(fs.existsSync(path.join(output, "fr/README.json")));