Skip to content

Update dependency yaml to v2 #95

Update dependency yaml to v2

Update dependency yaml to v2 #95

Re-run triggered December 3, 2025 09:21
Status Failure
Total duration 1m 18s
Artifacts

continuous-integration.yml

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

Annotations

73 errors
src/yaml-test-suite.test.ts > L24T.yaml: Trailing line of spaces: src/yaml-test-suite.test.ts#L40
Error: Snapshot `L24T.yaml: Trailing line of spaces 1` mismatched - Expected + Received @@ -77,32 +77,33 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 6, "line": 1, "offset": 5, }, }, "tag": null, "type": "blockLiteral", "value": "x + ", }, ], "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 4, "line": 1, "offset": 3, @@ -114,12 +115,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -131,12 +132,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > K858.yaml: Spec Example 8.6. Empty Scalar Chomping: src/yaml-test-suite.test.ts#L40
Error: Snapshot `K858.yaml: Spec Example 8.6. Empty Scalar Chomping 1` mismatched - Expected + Received @@ -77,12 +77,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 8, "line": 1, "offset": 7, @@ -96,12 +96,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 6, "line": 1, "offset": 5, @@ -113,12 +113,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -178,12 +178,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 7, "line": 3, "offset": 17, @@ -197,12 +197,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 5, "line": 3, "offset": 15, @@ -214,12 +214,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 1, "line": 3, "offset": 11, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > JEF9-2.yaml: Trailing whitespace in streams: src/yaml-test-suite.test.ts#L40
Error: Snapshot `JEF9-2.yaml: Trailing whitespace in streams 1` mismatched - Expected + Received @@ -46,11 +46,11 @@ "offset": 2, }, }, "tag": null, "type": "blockLiteral", - "value": " + "value": " ", }, ], "endComments": [], "leadingComments": [], ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > FH7J.yaml: Tags on Empty Scalars: src/yaml-test-suite.test.ts#L40
Error: Snapshot `FH7J.yaml: Tags on Empty Scalars 1` mismatched - Expected + Received @@ -94,18 +94,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, }, "tag": { "position": { "end": { @@ -128,13 +128,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { "column": 3, "line": 3, "offset": 12, @@ -363,18 +363,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, }, "tag": { "position": { "end": { @@ -397,13 +397,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { "column": 3, "line": 5, "offset": 36, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > DWX9.yaml: Spec Example 8.8. Literal Content: src/yaml-test-suite.test.ts#L40
Error: Snapshot `DWX9.yaml: Spec Example 8.8. Literal Content 1` mismatched - Expected + Received @@ -70,13 +70,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -87,13 +87,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > 7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines: src/yaml-test-suite.test.ts#L40
Error: Snapshot `7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines 1` mismatched - Expected + Received @@ -73,13 +73,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -90,13 +90,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/options.test.ts > (flowMapping): duplicate keys in {"a":1,"a":2}: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (mapping): duplicate keys in a: 1 a: 2: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (flowMapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '{"<<": 1,"<<": 2}', position: { start: { line: 1, column: 10, offset: 9 }, end: { line: 1, column: 11, offset: 10 } } }
src/options.test.ts > (mapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '<<: 1\n<<: 2', position: { start: { line: 2, column: 1, offset: 6 }, end: { line: 2, column: 2, offset: 7 } } }
src/yaml-test-suite.test.ts > L24T.yaml: Trailing line of spaces: src/yaml-test-suite.test.ts#L40
Error: Snapshot `L24T.yaml: Trailing line of spaces 1` mismatched - Expected + Received @@ -77,32 +77,33 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 6, "line": 1, "offset": 5, }, }, "tag": null, "type": "blockLiteral", "value": "x + ", }, ], "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 4, "line": 1, "offset": 3, @@ -114,12 +115,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -131,12 +132,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > K858.yaml: Spec Example 8.6. Empty Scalar Chomping: src/yaml-test-suite.test.ts#L40
Error: Snapshot `K858.yaml: Spec Example 8.6. Empty Scalar Chomping 1` mismatched - Expected + Received @@ -77,12 +77,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 8, "line": 1, "offset": 7, @@ -96,12 +96,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 6, "line": 1, "offset": 5, @@ -113,12 +113,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -178,12 +178,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 7, "line": 3, "offset": 17, @@ -197,12 +197,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 5, "line": 3, "offset": 15, @@ -214,12 +214,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 1, "line": 3, "offset": 11, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > JEF9-2.yaml: Trailing whitespace in streams: src/yaml-test-suite.test.ts#L40
Error: Snapshot `JEF9-2.yaml: Trailing whitespace in streams 1` mismatched - Expected + Received @@ -46,11 +46,11 @@ "offset": 2, }, }, "tag": null, "type": "blockLiteral", - "value": " + "value": " ", }, ], "endComments": [], "leadingComments": [], ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > FH7J.yaml: Tags on Empty Scalars: src/yaml-test-suite.test.ts#L40
Error: Snapshot `FH7J.yaml: Tags on Empty Scalars 1` mismatched - Expected + Received @@ -94,18 +94,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, }, "tag": { "position": { "end": { @@ -128,13 +128,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { "column": 3, "line": 3, "offset": 12, @@ -363,18 +363,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, }, "tag": { "position": { "end": { @@ -397,13 +397,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { "column": 3, "line": 5, "offset": 36, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > DWX9.yaml: Spec Example 8.8. Literal Content: src/yaml-test-suite.test.ts#L40
Error: Snapshot `DWX9.yaml: Spec Example 8.8. Literal Content 1` mismatched - Expected + Received @@ -70,13 +70,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -87,13 +87,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > 7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines: src/yaml-test-suite.test.ts#L40
Error: Snapshot `7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines 1` mismatched - Expected + Received @@ -73,13 +73,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -90,13 +90,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/options.test.ts > (flowMapping): duplicate keys in {"a":1,"a":2}: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (mapping): duplicate keys in a: 1 a: 2: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
Node.js 18 on ubuntu-latest
Process completed with exit code 1.
src/options.test.ts > (flowMapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '{"<<": 1,"<<": 2}', position: { start: { line: 1, column: 10, offset: 9 }, end: { line: 1, column: 11, offset: 10 } } }
src/options.test.ts > (mapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '<<: 1\n<<: 2', position: { start: { line: 2, column: 1, offset: 6 }, end: { line: 2, column: 2, offset: 7 } } }
src/yaml-test-suite.test.ts > L24T.yaml: Trailing line of spaces: src/yaml-test-suite.test.ts#L40
Error: Snapshot `L24T.yaml: Trailing line of spaces 1` mismatched - Expected + Received @@ -77,32 +77,33 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 6, "line": 1, "offset": 5, }, }, "tag": null, "type": "blockLiteral", "value": "x + ", }, ], "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 4, "line": 1, "offset": 3, @@ -114,12 +115,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -131,12 +132,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > K858.yaml: Spec Example 8.6. Empty Scalar Chomping: src/yaml-test-suite.test.ts#L40
Error: Snapshot `K858.yaml: Spec Example 8.6. Empty Scalar Chomping 1` mismatched - Expected + Received @@ -77,12 +77,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 8, "line": 1, "offset": 7, @@ -96,12 +96,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 6, "line": 1, "offset": 5, @@ -113,12 +113,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -178,12 +178,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 7, "line": 3, "offset": 17, @@ -197,12 +197,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 5, "line": 3, "offset": 15, @@ -214,12 +214,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 1, "line": 3, "offset": 11, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > JEF9-2.yaml: Trailing whitespace in streams: src/yaml-test-suite.test.ts#L40
Error: Snapshot `JEF9-2.yaml: Trailing whitespace in streams 1` mismatched - Expected + Received @@ -46,11 +46,11 @@ "offset": 2, }, }, "tag": null, "type": "blockLiteral", - "value": " + "value": " ", }, ], "endComments": [], "leadingComments": [], ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > FH7J.yaml: Tags on Empty Scalars: src/yaml-test-suite.test.ts#L40
Error: Snapshot `FH7J.yaml: Tags on Empty Scalars 1` mismatched - Expected + Received @@ -94,18 +94,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, }, "tag": { "position": { "end": { @@ -128,13 +128,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { "column": 3, "line": 3, "offset": 12, @@ -363,18 +363,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, }, "tag": { "position": { "end": { @@ -397,13 +397,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { "column": 3, "line": 5, "offset": 36, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > DWX9.yaml: Spec Example 8.8. Literal Content: src/yaml-test-suite.test.ts#L40
Error: Snapshot `DWX9.yaml: Spec Example 8.8. Literal Content 1` mismatched - Expected + Received @@ -70,13 +70,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -87,13 +87,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > 7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines: src/yaml-test-suite.test.ts#L40
Error: Snapshot `7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines 1` mismatched - Expected + Received @@ -73,13 +73,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -90,13 +90,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/options.test.ts > (flowMapping): duplicate keys in {"a":1,"a":2}: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (mapping): duplicate keys in a: 1 a: 2: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (flowMapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '{"<<": 1,"<<": 2}', position: { start: { line: 1, column: 10, offset: 9 }, end: { line: 1, column: 11, offset: 10 } } }
src/options.test.ts > (mapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '<<: 1\n<<: 2', position: { start: { line: 2, column: 1, offset: 6 }, end: { line: 2, column: 2, offset: 7 } } }
Lint: src/preprocess.ts#L13
Namespace '"/home/runner/work/yaml-unist-parser/yaml-unist-parser/node_modules/yaml/dist/parse/cst"' has no exported member 'FlowMap'.
Lint: src/preprocess.ts#L9
Namespace '"/home/runner/work/yaml-unist-parser/yaml-unist-parser/node_modules/yaml/dist/parse/cst"' has no exported member 'Comment'.
Lint: src/preprocess.ts#L8
Namespace '"/home/runner/work/yaml-unist-parser/yaml-unist-parser/node_modules/yaml/dist/parse/cst"' has no exported member 'BlockValue'.
Lint: src/preprocess.ts#L7
Namespace '"/home/runner/work/yaml-unist-parser/yaml-unist-parser/node_modules/yaml/dist/parse/cst"' has no exported member 'BlockLiteral'.
Lint: src/preprocess.ts#L6
Namespace '"/home/runner/work/yaml-unist-parser/yaml-unist-parser/node_modules/yaml/dist/parse/cst"' has no exported member 'BlockFolded'.
Lint: src/preprocess.ts#L5
Namespace '"/home/runner/work/yaml-unist-parser/yaml-unist-parser/node_modules/yaml/dist/parse/cst"' has no exported member 'BlankLine'.
Lint: src/preprocess.ts#L4
Namespace '"/home/runner/work/yaml-unist-parser/yaml-unist-parser/node_modules/yaml/dist/parse/cst"' has no exported member 'Alias'.
Lint: src/helpers.ts#L337
Unused '@ts-expect-error' directive.
Lint: src/helpers.ts#L2
Module '"yaml/util"' has no exported member 'YAMLSyntaxError'.
Lint: src/helpers.ts#L2
Module '"yaml/util"' has no exported member 'YAMLSemanticError'.
src/yaml-test-suite.test.ts > L24T.yaml: Trailing line of spaces: src/yaml-test-suite.test.ts#L40
Error: Snapshot `L24T.yaml: Trailing line of spaces 1` mismatched - Expected + Received @@ -77,32 +77,33 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 6, "line": 1, "offset": 5, }, }, "tag": null, "type": "blockLiteral", "value": "x + ", }, ], "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 4, "line": 1, "offset": 3, @@ -114,12 +115,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -131,12 +132,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > K858.yaml: Spec Example 8.6. Empty Scalar Chomping: src/yaml-test-suite.test.ts#L40
Error: Snapshot `K858.yaml: Spec Example 8.6. Empty Scalar Chomping 1` mismatched - Expected + Received @@ -77,12 +77,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 8, "line": 1, "offset": 7, @@ -96,12 +96,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 6, "line": 1, "offset": 5, @@ -113,12 +113,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -178,12 +178,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 7, "line": 3, "offset": 17, @@ -197,12 +197,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 5, "line": 3, "offset": 15, @@ -214,12 +214,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 1, "line": 3, "offset": 11, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > JEF9-2.yaml: Trailing whitespace in streams: src/yaml-test-suite.test.ts#L40
Error: Snapshot `JEF9-2.yaml: Trailing whitespace in streams 1` mismatched - Expected + Received @@ -46,11 +46,11 @@ "offset": 2, }, }, "tag": null, "type": "blockLiteral", - "value": " + "value": " ", }, ], "endComments": [], "leadingComments": [], ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > FH7J.yaml: Tags on Empty Scalars: src/yaml-test-suite.test.ts#L40
Error: Snapshot `FH7J.yaml: Tags on Empty Scalars 1` mismatched - Expected + Received @@ -94,18 +94,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, }, "tag": { "position": { "end": { @@ -128,13 +128,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { "column": 3, "line": 3, "offset": 12, @@ -363,18 +363,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, }, "tag": { "position": { "end": { @@ -397,13 +397,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { "column": 3, "line": 5, "offset": 36, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > DWX9.yaml: Spec Example 8.8. Literal Content: src/yaml-test-suite.test.ts#L40
Error: Snapshot `DWX9.yaml: Spec Example 8.8. Literal Content 1` mismatched - Expected + Received @@ -70,13 +70,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -87,13 +87,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > 7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines: src/yaml-test-suite.test.ts#L40
Error: Snapshot `7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines 1` mismatched - Expected + Received @@ -73,13 +73,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -90,13 +90,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/options.test.ts > (flowMapping): duplicate keys in {"a":1,"a":2}: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (mapping): duplicate keys in a: 1 a: 2: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (flowMapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '{"<<": 1,"<<": 2}', position: { start: { line: 1, column: 10, offset: 9 }, end: { line: 1, column: 11, offset: 10 } } }
src/options.test.ts > (mapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '<<: 1\n<<: 2', position: { start: { line: 2, column: 1, offset: 6 }, end: { line: 2, column: 2, offset: 7 } } }
Node.js 18 on macos-latest
Process completed with exit code 1.
Node.js 18 on windows-latest
Process completed with exit code 1.
src/yaml-test-suite.test.ts > L24T.yaml: Trailing line of spaces: src/yaml-test-suite.test.ts#L40
Error: Snapshot `L24T.yaml: Trailing line of spaces 1` mismatched - Expected + Received @@ -77,32 +77,33 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 6, "line": 1, "offset": 5, }, }, "tag": null, "type": "blockLiteral", "value": "x + ", }, ], "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 4, "line": 1, "offset": 3, @@ -114,12 +115,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -131,12 +132,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > K858.yaml: Spec Example 8.6. Empty Scalar Chomping: src/yaml-test-suite.test.ts#L40
Error: Snapshot `K858.yaml: Spec Example 8.6. Empty Scalar Chomping 1` mismatched - Expected + Received @@ -77,12 +77,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 8, "line": 1, "offset": 7, @@ -96,12 +96,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 6, "line": 1, "offset": 5, @@ -113,12 +113,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -178,12 +178,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 7, "line": 3, "offset": 17, @@ -197,12 +197,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 5, "line": 3, "offset": 15, @@ -214,12 +214,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 1, "line": 3, "offset": 11, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > JEF9-2.yaml: Trailing whitespace in streams: src/yaml-test-suite.test.ts#L40
Error: Snapshot `JEF9-2.yaml: Trailing whitespace in streams 1` mismatched - Expected + Received @@ -46,11 +46,11 @@ "offset": 2, }, }, "tag": null, "type": "blockLiteral", - "value": " + "value": " ", }, ], "endComments": [], "leadingComments": [], ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > FH7J.yaml: Tags on Empty Scalars: src/yaml-test-suite.test.ts#L40
Error: Snapshot `FH7J.yaml: Tags on Empty Scalars 1` mismatched - Expected + Received @@ -94,18 +94,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, }, "tag": { "position": { "end": { @@ -128,13 +128,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { "column": 3, "line": 3, "offset": 12, @@ -363,18 +363,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, }, "tag": { "position": { "end": { @@ -397,13 +397,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { "column": 3, "line": 5, "offset": 36, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > DWX9.yaml: Spec Example 8.8. Literal Content: src/yaml-test-suite.test.ts#L40
Error: Snapshot `DWX9.yaml: Spec Example 8.8. Literal Content 1` mismatched - Expected + Received @@ -70,13 +70,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -87,13 +87,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > 7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines: src/yaml-test-suite.test.ts#L40
Error: Snapshot `7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines 1` mismatched - Expected + Received @@ -73,13 +73,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -90,13 +90,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/options.test.ts > (flowMapping): duplicate keys in {"a":1,"a":2}: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (mapping): duplicate keys in a: 1 a: 2: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (flowMapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '{"<<": 1,"<<": 2}', position: { start: { line: 1, column: 10, offset: 9 }, end: { line: 1, column: 11, offset: 10 } } }
src/options.test.ts > (mapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '<<: 1\n<<: 2', position: { start: { line: 2, column: 1, offset: 6 }, end: { line: 2, column: 2, offset: 7 } } }
src/yaml-test-suite.test.ts > L24T.yaml: Trailing line of spaces: src/yaml-test-suite.test.ts#L40
Error: Snapshot `L24T.yaml: Trailing line of spaces 1` mismatched - Expected + Received @@ -77,32 +77,33 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 6, "line": 1, "offset": 5, }, }, "tag": null, "type": "blockLiteral", "value": "x + ", }, ], "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 4, "line": 1, "offset": 3, @@ -114,12 +115,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -131,12 +132,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 3, + "line": 4, - "offset": 11, + "offset": 15, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > K858.yaml: Spec Example 8.6. Empty Scalar Chomping: src/yaml-test-suite.test.ts#L40
Error: Snapshot `K858.yaml: Spec Example 8.6. Empty Scalar Chomping 1` mismatched - Expected + Received @@ -77,12 +77,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 8, "line": 1, "offset": 7, @@ -96,12 +96,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 6, "line": 1, "offset": 5, @@ -113,12 +113,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 2, + "line": 3, - "offset": 10, + "offset": 11, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -178,12 +178,12 @@ "leadingComments": [], "middleComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 7, "line": 3, "offset": 17, @@ -197,12 +197,12 @@ "endComments": [], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 5, "line": 3, "offset": 15, @@ -214,12 +214,12 @@ ], "leadingComments": [], "position": { "end": { "column": 1, - "line": 4, + "line": 5, - "offset": 19, + "offset": 20, }, "start": { "column": 1, "line": 3, "offset": 11, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > JEF9-2.yaml: Trailing whitespace in streams: src/yaml-test-suite.test.ts#L40
Error: Snapshot `JEF9-2.yaml: Trailing whitespace in streams 1` mismatched - Expected + Received @@ -46,11 +46,11 @@ "offset": 2, }, }, "tag": null, "type": "blockLiteral", - "value": " + "value": " ", }, ], "endComments": [], "leadingComments": [], ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > FH7J.yaml: Tags on Empty Scalars: src/yaml-test-suite.test.ts#L40
Error: Snapshot `FH7J.yaml: Tags on Empty Scalars 1` mismatched - Expected + Received @@ -94,18 +94,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, }, "tag": { "position": { "end": { @@ -128,13 +128,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 9, + "column": 10, "line": 3, - "offset": 18, + "offset": 19, }, "start": { "column": 3, "line": 3, "offset": 12, @@ -363,18 +363,18 @@ "anchor": null, "leadingComments": [], "middleComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, }, "tag": { "position": { "end": { @@ -397,13 +397,13 @@ }, ], "endComments": [], "position": { "end": { - "column": 8, + "column": 9, "line": 5, - "offset": 41, + "offset": 42, }, "start": { "column": 3, "line": 5, "offset": 36, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > DWX9.yaml: Spec Example 8.8. Literal Content: src/yaml-test-suite.test.ts#L40
Error: Snapshot `DWX9.yaml: Spec Example 8.8. Literal Content 1` mismatched - Expected + Received @@ -70,13 +70,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -87,13 +87,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 11, - "line": 10, + "line": 9, - "offset": 43, + "offset": 42, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/yaml-test-suite.test.ts > 7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines: src/yaml-test-suite.test.ts#L40
Error: Snapshot `7T8X.yaml: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines 1` mismatched - Expected + Received @@ -73,13 +73,13 @@ "value": " Comment", }, ], "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, @@ -90,13 +90,13 @@ ], "directivesEndMarker": false, "documentEndMarker": false, "position": { "end": { - "column": 1, + "column": 10, - "line": 17, + "line": 16, - "offset": 88, + "offset": 87, }, "start": { "column": 1, "line": 1, "offset": 0, ❯ src/yaml-test-suite.test.ts:40:40
src/options.test.ts > (flowMapping): duplicate keys in {"a":1,"a":2}: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (mapping): duplicate keys in a: 1 a: 2: src/options.test.ts#L22
AssertionError: expected [Function] to throw error including 'Map keys must be unique; "a" is repea…' but got 'Map keys must be unique' Expected: "Map keys must be unique; "a" is repeated" Received: "Map keys must be unique" ❯ src/options.test.ts:22:31
src/options.test.ts > (flowMapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '{"<<": 1,"<<": 2}', position: { start: { line: 1, column: 10, offset: 9 }, end: { line: 1, column: 11, offset: 10 } } }
src/options.test.ts > (mapping): duplicate '<<' keys should always be allowed: src/factories/error.ts#L8
YAMLSyntaxError: Map keys must be unique ❯ createError src/factories/error.ts:8:43 ❯ transformError src/transforms/error.ts:12:10 ❯ parse src/parse.ts:38:13 ❯ src/options.test.ts:8:12 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { source: '<<: 1\n<<: 2', position: { start: { line: 2, column: 1, offset: 6 }, end: { line: 2, column: 2, offset: 7 } } }