Skip to content

Commit

Permalink
Fix: version number for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Oct 31, 2016
1 parent 8e0c033 commit 95b8164
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/lib/rules/no-unsupported-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function convertPattern(retv, pattern) {
env: {es6: true},
options: [version],
parserOptions: {
ecmaVersion: 2017,
ecmaVersion: 8,
sourceType: pattern.modules ? "module" : "script",
},
})
Expand All @@ -67,7 +67,7 @@ function convertPattern(retv, pattern) {
env: {es6: true},
options: [{version: version, ignores: [key]}],
parserOptions: {
ecmaVersion: 2017,
ecmaVersion: 8,
sourceType: pattern.modules ? "module" : "script",
},
}
Expand All @@ -79,7 +79,7 @@ function convertPattern(retv, pattern) {
env: {es6: true},
options: [version],
parserOptions: {
ecmaVersion: 2017,
ecmaVersion: 8,
sourceType: pattern.modules ? "module" : "script",
},
errors: errors.map(function(message) {
Expand Down

0 comments on commit 95b8164

Please sign in to comment.