Skip to content
New issue

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

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

Already on GitHub? # to your account

Move ls tests #85

Merged
merged 3 commits into from
May 1, 2024
Merged

Move ls tests #85

merged 3 commits into from
May 1, 2024

Conversation

JRF63
Copy link
Contributor

@JRF63 JRF63 commented May 1, 2024

The goal of this PR is two things:

  • Move ls's tests so that tree/'s integration tests don't get unreasonably long when more tests are added.
  • Use CARGO_TARGET_TMPDIR to hold the temporary files. It's more of a proper location than the current one and should be easily wiped with cargo clean.

Not really sure if I should have left this as 3 separate commits.

@jgarzik
Copy link
Contributor

jgarzik commented May 1, 2024

General comment: More commits is fine. The rule for commits is like mathematical proofs: each commit, large or small, should be self-contained and pass all tests. A series of commits is a series of self-contained transformations, each of which should work with git bisect in the case of a bug.

@jgarzik jgarzik merged commit 3838021 into rustcoreutils:main May 1, 2024
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants