mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
net: Fix unit tests requiring default resources. (#36838)
When all unit tests are run, the existing feature flag use from net_traits was enough to ensure the default resources are baked into the test binary. When only the unit tests for the `net` crate are run, that feature flag was not enabled in the build so the tests that require the resources fail. Testing: Ran `./mach test-unit -p net` Fixes: #36837 Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
8a837778d9
commit
5051d52796
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ webpki-roots = { workspace = true }
|
|||
webrender_api = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
embedder_traits = { workspace = true, features = ["baked-default-resources"] }
|
||||
flate2 = "1"
|
||||
futures = { version = "0.3", features = ["compat"] }
|
||||
hyper = { workspace = true, features = ["full"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue