//! The gate for tests that use a real per-user store (registry (HKEY_CURRENT_USER)).
//!
//! Such a store cannot be pointed at a temporary copy, so these tests run only where that is
//! intended: on CI (`GITHUB_ACTIONS=true`) or with `RIGHTKIT_TEST_REAL_USER_STORES=1`. Anywhere
//! else, for example `cargo test` on someone's own machine, they print why and pass without
//! touching anything.
/// The opt-in variable, one name for the whole repository.
pub const OPT_IN: &str = "RIGHTKIT_TEST_REAL_USER_STORES";
/// Whether `test` may use the real user's stores in this run. Prints the reason when it may not.
/// A test names what it writes after itself: refuse any name that does not start with `prefix`.