Skip to content

Move glob tests to a run-pass test #9170

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

Closed
wants to merge 1 commit into from

Conversation

alexcrichton
Copy link
Member

The glob tests cannot change the current working directory because the other tests (namely the fileinput ones) depend on the current working directory not changing.

@erickt
Copy link
Contributor

erickt commented Sep 13, 2013

Could we instead move this test into test/run-pass? That should protect us against chdir-ing. I'd hate to allow this test to bitrot.

The normal unit tests cannot change the current working directory because it
messes with the other tests which depend on a particular working directory.
bors added a commit that referenced this pull request Sep 13, 2013
The glob tests cannot change the current working directory because the other tests (namely the fileinput ones) depend on the current working directory not changing.
@bors bors closed this Sep 13, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 18, 2022
[`box_collection`]: raise warn for all std collections

So far, only [`Vec`, `String`, `HashMap`] were considered.

Extend collection checklist for this lint with:
- `HashSet`
- `VecDeque`
- `LinkedList`
- `BTreeMap`
- `BTreeSet`
- `BinaryHeap`

changelog: [`box_collection`]: raise warn for all std collections
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