summaryrefslogtreecommitdiff
path: root/js/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test.js')
-rwxr-xr-xjs/test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/test.js b/js/test.js
index 73ec450..6cb7c98 100755
--- a/js/test.js
+++ b/js/test.js
@@ -56,7 +56,7 @@ fs.readFile('spec.txt', 'utf8', function(err, data) {
current_section = example.section;
cursor.reset().write(current_section).reset().write(' ');
}
- var actual = writer.renderBlock(reader.parse(example.markdown.replace(/→/g, '\t')));
+ var actual = writer.render(reader.parse(example.markdown.replace(/→/g, '\t')));
if (actual === example.html) {
passed++;
cursor.green().write('✓').reset();