Skip to content

Commit 28a532e

Browse files
committed
test: update fixture
1 parent ace5df3 commit 28a532e

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

test/fixtures/test-runner/output/assertion-color-tty.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import assert from 'node:assert/strict'
22
import { test } from 'node:test'
33

44
test('failing assertion', () => {
5-
assert.equal('apple', 'pear')
5+
assert.strictEqual('!Hello World', 'Hello World!')
66
})
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[31m✖ failing assertion [90m(*ms)[39m[39m
22
[AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
3-
[32m+ actual[39m [31m- expected[39m
3+
[32mactual[39m [31mexpected[39m
44

5-
[32m+[39m 'apple'
6-
[31m-[39m 'pear'] {
5+
[39m'[39m[32m![39m[39mH[39m[39me[39m[39ml[39m[39ml[39m[39mo[39m[39m [39m[39mW[39m[39mo[39m[39mr[39m[39ml[39m[39md[39m[31m![39m[39m'[39m
6+
] {
77
generatedMessage: [33mtrue[39m,
88
code: [32m'ERR_ASSERTION'[39m,
9-
actual: [32m'apple'[39m,
10-
expected: [32m'pear'[39m,
9+
actual: [32m'!Hello World'[39m,
10+
expected: [32m'Hello World!'[39m,
1111
operator: [32m'strictEqual'[39m
1212
}
1313

@@ -25,13 +25,13 @@
2525
*
2626
[31m✖ failing assertion [90m(*ms)[39m[39m
2727
[AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
28-
[32m+ actual[39m [31m- expected[39m
28+
[32mactual[39m [31mexpected[39m
2929

30-
[32m+[39m 'apple'
31-
[31m-[39m 'pear'] {
30+
[39m'[39m[32m![39m[39mH[39m[39me[39m[39ml[39m[39ml[39m[39mo[39m[39m [39m[39mW[39m[39mo[39m[39mr[39m[39ml[39m[39md[39m[31m![39m[39m'[39m
31+
] {
3232
generatedMessage: [33mtrue[39m,
3333
code: [32m'ERR_ASSERTION'[39m,
34-
actual: [32m'apple'[39m,
35-
expected: [32m'pear'[39m,
34+
actual: [32m'!Hello World'[39m,
35+
expected: [32m'Hello World!'[39m,
3636
operator: [32m'strictEqual'[39m
3737
}

test/parallel/test-runner-output.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ const tests = [
207207
name: 'test-runner/output/non-tty-forced-color-output.js',
208208
transform: specTransform,
209209
},
210-
{
210+
!skipForceColors ? {
211211
name: 'test-runner/output/assertion-color-tty.mjs',
212212
flags: ['--test', '--stack-trace-limit=0'],
213213
transform: specTransform,
214214
tty: true,
215-
},
215+
} : false,
216216
{
217217
name: 'test-runner/output/async-test-scheduling.mjs',
218218
flags: ['--test-reporter=tap'],

0 commit comments

Comments
 (0)