From ff338f948b9cd658fb45b3dab127999b246ec584 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Mon, 30 Apr 2018 14:20:25 +0200 Subject: [PATCH] Fix linting --- test/_negations.js | 6 +++--- test/bash.extglob2.js | 2 +- test/reference.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/_negations.js b/test/_negations.js index db95e55..174f5cf 100644 --- a/test/_negations.js +++ b/test/_negations.js @@ -52,7 +52,7 @@ module.exports = { 'asd.jss.xyz': { '*.!(js)*.!(xy)': false, '*.!(js)*.!(xy)*': false, - '*.!(js).!(xy)': false, + '*.!(js).!(xy)': false }, 'asd.jss.xy': { @@ -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': { diff --git a/test/bash.extglob2.js b/test/bash.extglob2.js index 5b72a67..8119a36 100644 --- a/test/bash.extglob2.js +++ b/test/bash.extglob2.js @@ -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 ], diff --git a/test/reference.js b/test/reference.js index fb47eb1..3b616fd 100644 --- a/test/reference.js +++ b/test/reference.js @@ -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' : '';