Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fake-editor: replace expectpath with dump-path #3995

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

mlcui-corp
Copy link
Collaborator

This allows us to assert the expected path in the test itself, rather than in the fake editor.

(This will be used for when we de-UNC-ify invocations of the editor, see #3986 for more details.)

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

@mlcui-corp
Copy link
Collaborator Author

expectpath is now not used anywhere - should we remove it in this PR?

cli/testing/fake-editor.rs Outdated Show resolved Hide resolved
cli/testing/fake-editor.rs Outdated Show resolved Hide resolved
@mlcui-corp mlcui-corp force-pushed the push-mxzxslstxpmq branch from 9267cc7 to 7096247 Compare July 1, 2024 03:51
@mlcui-corp mlcui-corp changed the title fake-editor: add dumppath command fake-editor: replace expectpath with dump-path Jul 1, 2024
@mlcui-corp
Copy link
Collaborator Author

Resolved comments - PTAL.

@mlcui-corp mlcui-corp requested review from yuja and martinvonz July 1, 2024 03:54
This allows us to assert the expected path in the test itself, rather
than in the fake editor.
@mlcui-corp mlcui-corp force-pushed the push-mxzxslstxpmq branch from 7096247 to d811d04 Compare July 2, 2024 01:06
@mlcui-corp mlcui-corp enabled auto-merge (rebase) July 2, 2024 01:07
@mlcui-corp mlcui-corp merged commit 3bca159 into jj-vcs:main Jul 2, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants