From 25c456a5e7c3a953e2c7a302e33efce365597680 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Thu, 5 Apr 2018 00:00:08 -0500 Subject: [PATCH] lint --- bin/marked | 1 + test/unit/marked-spec.js | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/bin/marked b/bin/marked index 57583809..6a3c2f5e 100755 --- a/bin/marked +++ b/bin/marked @@ -41,6 +41,7 @@ function main(argv, callback) { options = {}, input, output, + string, arg, tokens, opt; diff --git a/test/unit/marked-spec.js b/test/unit/marked-spec.js index 324dad12..0bb5b39f 100644 --- a/test/unit/marked-spec.js +++ b/test/unit/marked-spec.js @@ -7,15 +7,15 @@ it('should run the test', function () { }); describe('Test heading ID functionality', function() { - it('should add id attribute by default', function() { - var renderer = new marked.Renderer(marked.defaults); - var header = renderer.heading('test', 1, 'test'); - expect(header).toBe('

test

\n'); - }); + it('should add id attribute by default', function() { + var renderer = new marked.Renderer(marked.defaults); + var header = renderer.heading('test', 1, 'test'); + expect(header).toBe('

test

\n'); + }); - it('should NOT add id attribute when options set false', function() { - var renderer = new marked.Renderer({ headerIds: false }); - var header = renderer.heading('test', 1, 'test'); - expect(header).toBe('

test

\n'); - }); + it('should NOT add id attribute when options set false', function() { + var renderer = new marked.Renderer({ headerIds: false }); + var header = renderer.heading('test', 1, 'test'); + expect(header).toBe('

test

\n'); + }); });