Skip to content

Commit

Permalink
[eslint] enable no-regex-spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 26, 2021
1 parent 2ebd23a commit ef0069a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/stackTrace.js
Expand Up @@ -171,7 +171,7 @@ tap.test('preserves stack trace for failed assertions', function (tt) {
tt.equal(typeof data.diag.stack, 'string');
var at = data.diag.at || '';
stack = data.diag.stack || '';
tt.ok((/^Error: true should be false(\n at .+)+/).exec(stack), 'stack should be a stack');
tt.ok((/^Error: true should be false(\n {4}at .+)+/).exec(stack), 'stack should be a stack');
tt.deepEqual(data, {
ok: false,
id: 1,
Expand Down Expand Up @@ -236,7 +236,7 @@ tap.test('preserves stack trace for failed assertions where actual===falsy', fun
tt.equal(typeof data.diag.stack, 'string');
var at = data.diag.at || '';
stack = data.diag.stack || '';
tt.ok((/^Error: false should be true(\n at .+)+/).exec(stack), 'stack should be a stack');
tt.ok((/^Error: false should be true(\n {4}at .+)+/).exec(stack), 'stack should be a stack');
tt.deepEqual(data, {
ok: false,
id: 1,
Expand Down

0 comments on commit ef0069a

Please sign in to comment.