You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: update conformance snapshots for merge conflict diagnostics (#15462)
Updates test snapshots to reflect the improved merge conflict diagnostic
messages implemented in previous commits.
## Changes
- Updated `parser_misc.snap` and `parser_typescript.snap` with
capitalized error titles and properly formatted help text
- Snapshots now match the current diagnostic output: "Encountered diff
marker" with sentence-case help messages
The snapshots were updated by running `just conformance` after the
diagnostic message improvements were merged.
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
ifyou're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code
72
-
ifyou're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased
Ifyou're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code.
72
+
Ifyou're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased.
@@ -6348,13 +6348,13 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/parser/ecmasc
6348
6348
· ╰── this marker concludes the conflict region
6349
6349
9 │ }
6350
6350
╰────
6351
-
help: conflict markers indicate that a merge was started but could not be completed due to merge conflicts
6352
-
to resolve a conflict, keep only the code you want and then delete the lines containing conflict markers
6353
-
if you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code
6354
-
if you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased
6355
-
if you have nested conflicts, resolve the outermost conflict first
6351
+
help: Conflict markers indicate that a merge was started but could not be completed due to merge conflicts.
6352
+
To resolve a conflict, keep only the code you want and then delete the lines containing conflict markers.
6353
+
If you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code.
6354
+
If you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased.
6355
+
If you have nested conflicts, resolve the outermost conflict first.
@@ -6374,13 +6374,13 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/parser/ecmasc
6374
6374
· ╰── this marker concludes the conflict region
6375
6375
13 │
6376
6376
╰────
6377
-
help: conflict markers indicate that a merge was started but could not be completed due to merge conflicts
6378
-
to resolve a conflict, keep only the code you want and then delete the lines containing conflict markers
6379
-
if you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code
6380
-
if you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased
6381
-
if you have nested conflicts, resolve the outermost conflict first
6377
+
help: Conflict markers indicate that a merge was started but could not be completed due to merge conflicts.
6378
+
To resolve a conflict, keep only the code you want and then delete the lines containing conflict markers.
6379
+
If you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code.
6380
+
If you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased.
6381
+
If you have nested conflicts, resolve the outermost conflict first.
@@ -6396,13 +6396,13 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/parser/ecmasc
6396
6396
· ╰── this marker concludes the conflict region
6397
6397
7 │ }
6398
6398
╰────
6399
-
help: conflict markers indicate that a merge was started but could not be completed due to merge conflicts
6400
-
to resolve a conflict, keep only the code you want and then delete the lines containing conflict markers
6401
-
if you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code
6402
-
if you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased
6403
-
if you have nested conflicts, resolve the outermost conflict first
6399
+
help: Conflict markers indicate that a merge was started but could not be completed due to merge conflicts.
6400
+
To resolve a conflict, keep only the code you want and then delete the lines containing conflict markers.
6401
+
If you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code.
6402
+
If you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased.
6403
+
If you have nested conflicts, resolve the outermost conflict first.
@@ -6420,11 +6420,11 @@ Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/parser/ecmasc
6420
6420
· ╰── this marker concludes the conflict region
6421
6421
10 │
6422
6422
╰────
6423
-
help: conflict markers indicate that a merge was started but could not be completed due to merge conflicts
6424
-
to resolve a conflict, keep only the code you want and then delete the lines containing conflict markers
6425
-
if you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code
6426
-
if you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased
6427
-
if you have nested conflicts, resolve the outermost conflict first
6423
+
help: Conflict markers indicate that a merge was started but could not be completed due to merge conflicts.
6424
+
To resolve a conflict, keep only the code you want and then delete the lines containing conflict markers.
6425
+
If you're having merge conflicts after pulling new code, the top section is the code you already had and the bottom section is the remote code.
6426
+
If you're in the middle of a rebase, the top section is the code being rebased onto and the bottom section is the code coming from the current commit being rebased.
6427
+
If you have nested conflicts, resolve the outermost conflict first.
0 commit comments