diff --git a/src/config.rs b/src/config.rs index c2d2055..55a4580 100644 --- a/src/config.rs +++ b/src/config.rs @@ -100,7 +100,7 @@ pub(crate) fn get_setting(name: &str) -> Option { use {sealed_test::prelude::*, std::fs::write}; #[test] -#[sealed_test(env = [("LIBREDDIT_SFW_ONLY", "1")])] +#[sealed_test(env = [("LIBREDDIT_SFW_ONLY", "on")])] fn test_env_var() { assert!(crate::utils::sfw_only()) }