aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/writers/markdown-writer.tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writers/markdown-writer.tests.js b/tests/writers/markdown-writer.tests.js
index 6fb9c93..a4dfd05 100644
--- a/tests/writers/markdown-writer.tests.js
+++ b/tests/writers/markdown-writer.tests.js
@@ -10,7 +10,7 @@ describe('markdown-writer', function() {
return assert.equal(writer.asString(), "\\\\\\*");
});
- test('can generate a paragraph', function() {
+ test('paragraphs are terminated with double new line', function() {
var writer = mdWriter.writer();
writer.open("p");
writer.text("Hello");
@@ -34,7 +34,7 @@ describe('markdown-writer', function() {
return assert.equal(writer.asString(), "###### Hello\n\n");
});
- test('can generate a new line', function() {
+ test('br is written as new line', function() {
var writer = mdWriter.writer();
writer.text("Hello World");
writer.selfClosing("br");