aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-02-08 20:21:27 +0000
committerMichael Williamson <mike@zwobble.org>2015-02-08 20:21:27 +0000
commitde53ae77d8696ef9a8c89fc9661c1fb1acdd1ce1 (patch)
tree952588c887f10b5e2d9589235be71f2f731d24c9
parent69e41de79b8b52974163ef2196e19ecf28767977 (diff)
Clarify behaviour in test names
-rw-r--r--tests/writers/markdown-writer.tests.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/writers/markdown-writer.tests.js b/tests/writers/markdown-writer.tests.js
index f4d17ce..9d3def5 100644
--- a/tests/writers/markdown-writer.tests.js
+++ b/tests/writers/markdown-writer.tests.js
@@ -49,7 +49,7 @@ describe('markdown-writer', function() {
return assert.equal(writer.asString(), "Hello World \n");
});
- test('can generate strong text', function() {
+ test('strong text is surrounded by two underscores', function() {
var writer = mdWriter.writer();
writer.text("Hello ");
writer.open("strong");
@@ -58,7 +58,7 @@ describe('markdown-writer', function() {
return assert.equal(writer.asString(), "Hello __World__");
});
- test('can generate emphasis text', function() {
+ test('emphasised text is surrounded by one asterix', function() {
var writer = mdWriter.writer();
writer.text("Hello ");
writer.open("em");
@@ -67,7 +67,7 @@ describe('markdown-writer', function() {
return assert.equal(writer.asString(), "Hello *World*");
});
- test('can generate hyperlinks', function() {
+ test('anchor tags are written as hyperlinks', function() {
var writer = mdWriter.writer();
writer.open("a", { "href": "http://example.com" });
writer.text("Hello");