summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-asciidoc/test/page.js
diff options
context:
space:
mode:
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);
+ });
});