From d046c4297a04b6eecadf01093382b72bb1b71032 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 28 Jun 2016 20:58:49 +0100 Subject: Replace jshint with eslint --- tests/writers/markdown-writer.tests.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/writers') 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(), "![Alt Text](http://example.com/image.jpg)"); }); 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(), "![](http://example.com/image.jpg)"); }); 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]()"); }); -- cgit v1.2.3