diff --git a/test/browser/specs/runner.test.mjs b/test/browser/specs/runner.test.mjs index 480daf03a583..bfadbb3b374e 100644 --- a/test/browser/specs/runner.test.mjs +++ b/test/browser/specs/runner.test.mjs @@ -30,7 +30,7 @@ await test('tests are actually running', async () => { await test('correctly prints error', () => { assert.match(stderr, /expected 1 to be 2/, 'prints failing error') - assert.match(stderr, /- 1\s+\+ 2/, 'prints failing diff') + assert.match(stderr, /- 2\s+\+ 1/, 'prints failing diff') }) await test('logs are redirected to stdout', async () => {