diff --git a/tests/headless.rs b/tests/headless.rs index 57e02759..c8064c75 100644 --- a/tests/headless.rs +++ b/tests/headless.rs @@ -9,7 +9,7 @@ mod gl { use gl::types::*; -#[cfg(not(target_os = "linux"))] +#[cfg(target_os = "macos")] #[test] fn test_headless() { let width: i32 = 256;