Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevva committed May 18, 2016
1 parent 1404465 commit 93f7bca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test.beforeEach(t => {
});

test('missing file operands', t => {
t.throws(execa('./cli.js'), /`src` and `dest` required/);
t.throws(execa('./cli.js'), /`files` and `destination` required/);
});

test('source file does not exist', t => {
Expand Down Expand Up @@ -62,7 +62,7 @@ test('overwrite files by default', async t => {
t.is(read(t.context.tmp, 'dest/hello.js'), 'console.log("hello");');
});

test('do not copy files in the ngated glob patterns', async t => {
test('do not copy files in the negated glob patterns', async t => {
fs.mkdirSync(t.context.tmp);
fs.mkdirSync(path.join(t.context.tmp, 'src'));
fs.mkdirSync(path.join(t.context.tmp, 'dest'));
Expand Down

0 comments on commit 93f7bca

Please sign in to comment.