From 5aa28def488c28c8a0e406bf1c7a42821b32648c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Misty=20De=20M=C3=A9o?= Date: Wed, 18 Dec 2024 15:57:49 -0800 Subject: [PATCH] assert no XDG_CONFIG_HOME --- cargo-dist/tests/gallery/dist/shell.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cargo-dist/tests/gallery/dist/shell.rs b/cargo-dist/tests/gallery/dist/shell.rs index 1e6da7526..a86da0a78 100644 --- a/cargo-dist/tests/gallery/dist/shell.rs +++ b/cargo-dist/tests/gallery/dist/shell.rs @@ -57,6 +57,8 @@ impl AppResult { tempdir.join(".profile"), tempdir.join(".zshrc"), ]; + + assert_eq!(std::env::var("XDG_CONFIG_HOME").ok(), None); let receipt_file = tempdir.join(format!(".config/{app_name}/{app_name}-receipt.json")); let expected_bin_dir = Utf8PathBuf::from(expected_bin_dir); let bin_dir = tempdir.join(&expected_bin_dir);