diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-06-28 20:58:49 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-06-28 20:58:49 +0100 |
| commit | d046c4297a04b6eecadf01093382b72bb1b71032 (patch) | |
| tree | d90fc8dde051f2dba93c41f77506f472269124ba /tests/writers | |
| parent | f557dc7de5fd0dff3a08808e7c4d9736970e6349 (diff) | |
Replace jshint with eslint
Diffstat (limited to 'tests/writers')
| -rw-r--r-- | tests/writers/markdown-writer.tests.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/writers/markdown-writer.tests.js b/tests/writers/markdown-writer.tests.js index 8d05ff6..38d2afe 100644 --- a/tests/writers/markdown-writer.tests.js +++ b/tests/writers/markdown-writer.tests.js @@ -69,7 +69,7 @@ describe('markdown-writer', function() { test('anchor tags are written as hyperlinks', function() { var writer = mdWriter.writer(); - writer.open("a", { "href": "http://example.com" }); + writer.open("a", {"href": "http://example.com"}); writer.text("Hello"); writer.close("a"); return assert.equal(writer.asString(), "[Hello](http://example.com)"); @@ -101,19 +101,19 @@ describe('markdown-writer', function() { test('can generate images', function() { var writer = mdWriter.writer(); - writer.selfClosing("img", { "src": "http://example.com/image.jpg", "alt": "Alt Text" }); + writer.selfClosing("img", {"src": "http://example.com/image.jpg", "alt": "Alt Text"}); return assert.equal(writer.asString(), ""); }); test('can generate images with missing alt attribute', function() { var writer = mdWriter.writer(); - writer.selfClosing("img", { "src": "http://example.com/image.jpg" }); + writer.selfClosing("img", {"src": "http://example.com/image.jpg"}); return assert.equal(writer.asString(), ""); }); test('can generate images with missing src attribute', function() { var writer = mdWriter.writer(); - writer.selfClosing("img", { "alt": "Alt Text" }); + writer.selfClosing("img", {"alt": "Alt Text"}); return assert.equal(writer.asString(), "![Alt Text]()"); }); |
