Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Fix a bug in the specs
Browse files Browse the repository at this point in the history
Improper fix to a lint issue...
  • Loading branch information
Arcanemagus committed Sep 16, 2016
1 parent 10481ac commit 4831523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/linter-eslint-spec.js
Expand Up @@ -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()
})
)
})
Expand Down Expand Up @@ -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()
})
)
)
Expand Down

0 comments on commit 4831523

Please sign in to comment.