Skip to content

refactor: no test-level imports - #510

Open
alejandro-vaz wants to merge 1 commit into
servo:v2from
alejandro-vaz:no-testlevel
Open

refactor: no test-level imports#510
alejandro-vaz wants to merge 1 commit into
servo:v2from
alejandro-vaz:no-testlevel

Conversation

@alejandro-vaz

Copy link
Copy Markdown
Collaborator

this PR refactors the tests under tests/*.rs to only use module-level imports instead of test-level imports

it helps keep the file organized

modules are being split where there are API boundaries, which means that all the tests that share module make use of the same features, and no feature-gated imports are needed

closes #501

@alejandro-vaz
alejandro-vaz requested a review from jdm August 30, 2026 17:08
@alejandro-vaz alejandro-vaz self-assigned this Aug 30, 2026
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.

get rid of test-level imports on tests/*.rs

1 participant