summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/test/page.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-02-12 09:50:41 +0100
committerSamy Pessé <samypesse@gmail.com>2016-12-22 11:46:19 +0100
commitfb412152cb4a257a7236252ed7a7ca0d7a2cb96e (patch)
treed5180e4d78c38c835815c0f594a7c8c278e47d1e /packages/gitbook-asciidoc/test/page.js
parentbdefd1ed4ec3557e5699a7413cadd572badb9fd2 (diff)
downloadgitbook-fb412152cb4a257a7236252ed7a7ca0d7a2cb96e.zip
gitbook-fb412152cb4a257a7236252ed7a7ca0d7a2cb96e.tar.gz
gitbook-fb412152cb4a257a7236252ed7a7ca0d7a2cb96e.tar.bz2
Fix indentations
Diffstat (limited to 'packages/gitbook-asciidoc/test/page.js')
-rwxr-xr-xpackages/gitbook-asciidoc/test/page.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/gitbook-asciidoc/test/page.js b/packages/gitbook-asciidoc/test/page.js
index f81f97d..9579725 100755
--- a/packages/gitbook-asciidoc/test/page.js
+++ b/packages/gitbook-asciidoc/test/page.js
@@ -5,18 +5,18 @@ var assert = require('assert');
var page = require('../').page;
function loadPage (name, options) {
- var CONTENT = fs.readFileSync(path.join(__dirname, './fixtures/' + name + '.adoc'), 'utf8');
- return page(CONTENT, options).sections;
+ var CONTENT = fs.readFileSync(path.join(__dirname, './fixtures/' + name + '.adoc'), 'utf8');
+ return page(CONTENT, options).sections;
}
var LEXED = loadPage('PAGE');
describe('Page parsing', function() {
- it('should detect sections', function() {
- assert.equal(LEXED.length, 1);
- });
+ it('should detect sections', function() {
+ assert.equal(LEXED.length, 1);
+ });
- it('should gen content for normal sections', function() {
- assert(LEXED[0].content);
- });
+ it('should gen content for normal sections', function() {
+ assert(LEXED[0].content);
+ });
});