diff --git a/wgpu/examples/skybox/main.rs b/wgpu/examples/skybox/main.rs index f038576cfc..ca71349971 100644 --- a/wgpu/examples/skybox/main.rs +++ b/wgpu/examples/skybox/main.rs @@ -472,7 +472,7 @@ fn skybox() { height: 768, optional_features: wgpu::Features::default(), base_test_parameters: framework::test_common::TestParameters::default() - .backend_failures(wgpu::Backends::VULKAN | wgpu::Backends::GL), + .backend_failure(wgpu::Backends::VULKAN | wgpu::Backends::GL), tollerance: 2, max_outliers: 3, }); diff --git a/wgpu/tests/common/mod.rs b/wgpu/tests/common/mod.rs index 0ca48e71ad..6087aefb1e 100644 --- a/wgpu/tests/common/mod.rs +++ b/wgpu/tests/common/mod.rs @@ -131,7 +131,7 @@ impl TestParameters { } /// Mark the test as always failing on a specific backend, equivilant to specific_failure(backend, None, None) - pub fn backend_failures(mut self, backends: wgpu::Backends) -> Self { + pub fn backend_failure(mut self, backends: wgpu::Backends) -> Self { self.failures.push((Some(backends), None, None, false)); self }