Skip to content

Commit

Permalink
> Fixes typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Edwards committed Aug 5, 2015
1 parent ea88dd1 commit ace6ca5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions test/presets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ var glob = require('glob')
describe('presets', function () {

var linter = new Linter()
, rules = []
, tests = []
, fixturesPath = __dirname + '/fixtures/presets/'

glob.sync(__dirname + '/presets/*.test.js').forEach(function (file) {
rules.push(require(file))
tests.push(require(file))
})

rules.forEach(function (rule) {
rule(linter, fixturesPath)
tests.forEach(function (test) {
test(linter, fixturesPath)
})

})
8 changes: 4 additions & 4 deletions test/rules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ var glob = require('glob')
describe('rules', function () {

var linter = new Linter()
, rules = []
, tests = []
, fixturesPath = __dirname + '/fixtures/rules/'

glob.sync(__dirname + '/rules/*.test.js').forEach(function (file) {
rules.push(require(file))
tests.push(require(file))
})

rules.forEach(function (rule) {
rule(linter, fixturesPath)
tests.forEach(function (test) {
test(linter, fixturesPath)
})

})

0 comments on commit ace6ca5

Please sign in to comment.