Skip to content

新增 countCharacters.js, 计算字符串中每个字符的出现次数 #233

新增 countCharacters.js, 计算字符串中每个字符的出现次数

新增 countCharacters.js, 计算字符串中每个字符的出现次数 #233

Triggered via pull request August 6, 2024 06:51
Status Failure
Total duration 34s
Artifacts

tests.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 errors
lib/object/merge.test.js > yd_object_merge > should return true: lib/object/merge.test.js#L8
AssertionError: expected { a: 2, b: [ 4, 5 ], c: { e: 6 } } to strictly equal { Object (a, b, ...) } - Expected + Received Object { "a": 2, "b": Array [ 4, 5, ], "c": Object { - "d": 4, "e": 6, }, } ❯ lib/object/merge.test.js:8:49
lib/object/mergeAndConcat.test.js > yd_object_mergeAndConcat > should return true: lib/object/mergeAndConcat.test.js#L8
AssertionError: expected { a: 2, b: [ 4, 5 ], c: { e: 6 } } to strictly equal { a: 2, b: [ 2, 3, 4, 5 ], …(1) } - Expected + Received Object { "a": 2, "b": Array [ - 2, - 3, 4, 5, ], "c": Object { - "d": 4, "e": 6, }, } ❯ lib/object/mergeAndConcat.test.js:8:58
build (20.x)
Process completed with exit code 1.
build (18.x)
The job was canceled because "_20_x" failed.
lib/object/merge.test.js > yd_object_merge > should return true: lib/object/merge.test.js#L8
AssertionError: expected { a: 2, b: [ 4, 5 ], c: { e: 6 } } to strictly equal { Object (a, b, ...) } - Expected + Received Object { "a": 2, "b": Array [ 4, 5, ], "c": Object { - "d": 4, "e": 6, }, } ❯ lib/object/merge.test.js:8:49
lib/object/mergeAndConcat.test.js > yd_object_mergeAndConcat > should return true: lib/object/mergeAndConcat.test.js#L8
AssertionError: expected { a: 2, b: [ 4, 5 ], c: { e: 6 } } to strictly equal { a: 2, b: [ 2, 3, 4, 5 ], …(1) } - Expected + Received Object { "a": 2, "b": Array [ - 2, - 3, 4, 5, ], "c": Object { - "d": 4, "e": 6, }, } ❯ lib/object/mergeAndConcat.test.js:8:58
build (18.x)
Process completed with exit code 1.
build (22.x)
The job was canceled because "_20_x" failed.
lib/object/merge.test.js > yd_object_merge > should return true: lib/object/merge.test.js#L8
AssertionError: expected { a: 2, b: [ 4, 5 ], c: { e: 6 } } to strictly equal { Object (a, b, ...) } - Expected + Received Object { "a": 2, "b": Array [ 4, 5, ], "c": Object { - "d": 4, "e": 6, }, } ❯ lib/object/merge.test.js:8:49
lib/object/mergeAndConcat.test.js > yd_object_mergeAndConcat > should return true: lib/object/mergeAndConcat.test.js#L8
AssertionError: expected { a: 2, b: [ 4, 5 ], c: { e: 6 } } to strictly equal { a: 2, b: [ 2, 3, 4, 5 ], …(1) } - Expected + Received Object { "a": 2, "b": Array [ - 2, - 3, 4, 5, ], "c": Object { - "d": 4, "e": 6, }, } ❯ lib/object/mergeAndConcat.test.js:8:58
build (22.x)
Process completed with exit code 1.