summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-02-07 22:55:05 +0000
committerMichael Williamson <mike@zwobble.org>2015-02-07 22:55:05 +0000
commitefb4c96fe0904ed112979383debcd95fa5230636 (patch)
tree94224538c5a6b9425853ff281e1c9a259db9de71
parentee3f5fcd4ee9b655b01c5f1d248cba01f5694b62 (diff)
Rename test functions for clarity
-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");