Skip to content

Commit

Permalink
re-add pattern back to tests which need it
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaub committed Jan 8, 2019
1 parent fcedb8f commit 5ad9a14
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions test/integration/glob.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ describe('globbing', function() {
testGlob.shouldFail(
'./*-none.js',
function(results) {
expect(results.stderr, 'to contain', 'Error: No test files found:');
expect(
results.stderr,
'to contain',
'Error: No test files found: ./*-none.js'
);
},
done
);
Expand Down Expand Up @@ -80,7 +84,11 @@ describe('globbing', function() {
testGlob.shouldFail(
'"./*-none.js"',
function(results) {
expect(results.stderr, 'to contain', 'Error: No test files found:');
expect(
results.stderr,
'to contain',
'Error: No test files found: ./*-none.js'
);
},
done
);
Expand Down Expand Up @@ -134,7 +142,11 @@ describe('globbing', function() {
testGlob.shouldFail(
'"./**/*-none.js"',
function(results) {
expect(results.stderr, 'to contain', 'Error: No test files found:');
expect(
results.stderr,
'to contain',
'Error: No test files found: ./**/*-none.js'
);
},
done
);
Expand Down

0 comments on commit 5ad9a14

Please sign in to comment.