From 4831523bb46717b52432fddb217c309c3e55ce32 Mon Sep 17 00:00:00 2001 From: Landon Abney Date: Fri, 16 Sep 2016 15:57:50 -0700 Subject: [PATCH] Fix a bug in the specs Improper fix to a lint issue... --- spec/linter-eslint-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/linter-eslint-spec.js b/spec/linter-eslint-spec.js index 97538d12..62cbb69d 100644 --- a/spec/linter-eslint-spec.js +++ b/spec/linter-eslint-spec.js @@ -54,7 +54,7 @@ describe('The eslint provider for Linter', () => { expect(messages[0].text).toBe("'foo' is not defined.") expect(messages[0].filePath).toBe(badPath) expect(messages[0].range).toEqual([[0, 0], [0, 3]]) - expect(Object.hasOwnProperty.call(messages[0], ('fix'))).toBeFalsy() + expect(Object.hasOwnProperty.call(messages[0], 'fix')).toBeFalsy() }) ) }) @@ -108,7 +108,7 @@ describe('The eslint provider for Linter', () => { expect(messages[0].text).toBe("Unable to resolve path to module '../nonexistent'.") expect(messages[0].filePath).toBe(badImportPath) expect(messages[0].range).toEqual([[0, 24], [0, 39]]) - expect(Object.hasOwnProperty.call(messages[0], ('fix'))).toBeFalsy() + expect(Object.hasOwnProperty.call(messages[0], 'fix')).toBeFalsy() }) ) )