Skip to content

Commit

Permalink
convert test/integration/no-diff.spec.js to unexpected
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
  • Loading branch information
boneskull committed Apr 21, 2018
1 parent 043cfe3 commit 5368ebe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/no-diff.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe('no-diff', function () {
done(err);
return;
}
expect(res.output).not.to.match(/\+ expected/);
expect(res.output).not.to.match(/- actual/);
expect(res.output, 'not to match', /\+ expected/);
expect(res.output, 'not to match', /- actual/);
done();
});
});
Expand All @@ -25,8 +25,8 @@ describe('no-diff', function () {
done(err);
return;
}
expect(res.output).to.match(/\+ expected/);
expect(res.output).to.match(/- actual/);
expect(res.output, 'to match', /\+ expected/);
expect(res.output, 'to match', /- actual/);
done();
});
});
Expand Down

0 comments on commit 5368ebe

Please sign in to comment.