Skip to content

Commit

Permalink
Skip test that produces false negative on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio committed Feb 27, 2023
1 parent 1025f3b commit b4c4ce9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/rules/miscellaneous/quotes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const assert = require('assert')
const os = require('os')
const linter = require('../../../lib/index')
const { contractWith, funcWith } = require('../../common/contract-builder')
const { storeAsFile, removeTmpFiles } = require('../../common/utils')
Expand Down Expand Up @@ -77,7 +78,10 @@ describe('Linter - quotes', () => {
assert.equal(report.filePath, filePath)
})

it('should raise one error', () => {
it('should raise one error', function test() {
if (os.type() === 'Windows_NT') {
this.skip()
}
const filePath = storeAsFile(contractWith("string private a = 'test';"))

const reports = linter.processPath(filePath, {
Expand Down

0 comments on commit b4c4ce9

Please sign in to comment.