From dff91da8777dc42d38abf8b5d63addbd71fdabff Mon Sep 17 00:00:00 2001 From: Johannes Schleifenbaum Date: Wed, 4 Jan 2023 11:12:19 +0100 Subject: [PATCH] config: fix SFW test --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }