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

Remove redundant tests::tests mod #2

Closed
wants to merge 1 commit into from

Conversation

Velnbur
Copy link
Contributor

@Velnbur Velnbur commented Mar 31, 2024

Problem

As file tests.rs already creates the module named tests there is no reason to have an additional one inside called the same (tests) as it creates for tests path like tests::tests.

Solution

Remove inner tests module and move #[cfg(test)] to declaration of mod tests

@Velnbur Velnbur mentioned this pull request Mar 31, 2024
@olegfomenko
Copy link
Collaborator

Applied in 70382f6
Thanks @Velnbur

@olegfomenko olegfomenko closed this Apr 1, 2024
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.

None yet

2 participants