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

Snapshots don't sort well in contexts (like IDEs) that sort by extension #10626

Closed
epage opened this issue May 3, 2022 · 2 comments · Fixed by #10629
Closed

Snapshots don't sort well in contexts (like IDEs) that sort by extension #10626

epage opened this issue May 3, 2022 · 2 comments · Fixed by #10629
Assignees
Labels
A-testing-cargo-itself Area: cargo's tests C-bug Category: bug E-easy Experience: Easy

Comments

@epage
Copy link
Contributor

epage commented May 3, 2022

Problem

Right now, snapshots are stored as

<name>.in/
<name>.out/
<name>.stdout
<name>.stderr

In ls, this groups things well but in IDEs, it doesn't.

Steps

Open up the test snapshots in an IDE

Possible Solution(s)

Organize the snapshots as

<name>/in/
<name>/out/
<name>/stdout
<name>/stderr

Notes

We should wait on #10620 so we can update all of them at once

Version

No response

@epage
Copy link
Contributor Author

epage commented May 3, 2022

Forgot to mention this but this should mean we can delete the scripts for copying / renaming since you can just copy or rename the directory

@Muscraft
Copy link
Member

Muscraft commented May 4, 2022

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing-cargo-itself Area: cargo's tests C-bug Category: bug E-easy Experience: Easy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants