Skip to content

refactor: no test-level imports - #510

Merged
alejandro-vaz merged 2 commits into
servo:v2from
alejandro-vaz:no-testlevel
Aug 31, 2026
Merged

alejandro-vaz merged 2 commits 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
Signed-off-by: Alejandro Vaz <alejandro.vaz.myt@gmail.com>
@alejandro-vaz
alejandro-vaz added this pull request to the merge queue Aug 31, 2026
Merged via the queue into servo:v2 with commit 29b71da Aug 31, 2026
6 checks passed
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

2 participants