Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Apr 30, 2018
1 parent 8fdd4e2 commit ff338f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions test/_negations.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = {
'asd.jss.xyz': {
'*.!(js)*.!(xy)': false,
'*.!(js)*.!(xy)*': false,
'*.!(js).!(xy)': false,
'*.!(js).!(xy)': false
},

'asd.jss.xy': {
Expand Down Expand Up @@ -102,8 +102,8 @@ module.exports = {
'*.!(js)+': false,
'!(*(.js.js))': true,
'*.!(js)': true,
'*.!(js)*': false, // Bash 4.3 disagrees!
'*.!(js)*.js': false // Bash 4.3 disagrees!
'*.!(js)*': false, // Bash 4.3 disagrees!
'*.!(js)*.js': false // Bash 4.3 disagrees!
},

'a/foo.js.js': {
Expand Down
2 changes: 1 addition & 1 deletion test/bash.extglob2.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('bash extglob2 tests', function() {
[ 'foo', '!(foo)*', false ], // Bash 4.3 disagrees!
[ 'foobar', '!(foo)', true ],
[ 'foobar', '!(foo)*', false ], // Bash 4.3 disagrees!
[ 'moo.cow', '!(*.*).!(*.*)', false ], // Bash 4.3 disagrees!
[ 'moo.cow', '!(*.*).!(*.*)', false ], // Bash 4.3 disagrees!
[ 'mad.moo.cow', '!(*.*).!(*.*)', false ],
[ 'mucca.pazza', 'mu!(*(c))?.pa!(*(z))?', false ],
[ 'fff', '!(f)', true ],
Expand Down
2 changes: 1 addition & 1 deletion test/reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var negations = require('./_negations');

describe('running extglob against minimatch tests', function() {
forOwn(negations, function(val, fixture) {
if (fixture !== 'asd.jss.xyz') return
if (fixture !== 'asd.jss.xyz') return;
describe('"' + fixture + '"', function() {
forOwn(val, function(expected, pattern) {
var exp = expected === false ? ' not' : '';
Expand Down

0 comments on commit ff338f9

Please sign in to comment.