Skip to content

Fix warnings in unit tests (#41524)#41529

Merged
TimvdLippe merged 1 commit intoservo:mainfrom
Eyad3skr:fix/41524-test-warnings
Dec 27, 2025
Merged

Fix warnings in unit tests (#41524)#41529
TimvdLippe merged 1 commit intoservo:mainfrom
Eyad3skr:fix/41524-test-warnings

Conversation

@Eyad3skr
Copy link
Copy Markdown
Contributor

@Eyad3skr Eyad3skr commented Dec 26, 2025

Fix warnings when building unit tests by adding #[allow(dead_code)] attributes to evaluate_javascript function and WebViewDelegateImpl::reset method in common/mod.rs (which are used in some test binaries but not others), and removing the unnecessary trailing semicolon after the struct definition in webview.rs test_user_content_manager_for_auxiliary_webviews test. Fixes #41524

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 26, 2025
…nly symbols and remove stray semicolon in webview test. Fixes servo#41524

Signed-off-by: Eyad3skr <eyad.abdulaal@student.giu-uni.de>
@Eyad3skr Eyad3skr force-pushed the fix/41524-test-warnings branch from 6b95d06 to a0c2024 Compare December 27, 2025 09:36
Copy link
Copy Markdown
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Dec 27, 2025
@TimvdLippe TimvdLippe enabled auto-merge December 27, 2025 10:04
@TimvdLippe TimvdLippe added this pull request to the merge queue Dec 27, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Dec 27, 2025
Merged via the queue into servo:main with commit 9c86ef4 Dec 27, 2025
29 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Dec 27, 2025
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.

Warnings when building unit tests

3 participants