Skip to content

Commit

Permalink
assert no XDG_CONFIG_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Dec 18, 2024
1 parent 235127f commit 5aa28de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cargo-dist/tests/gallery/dist/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5aa28de

Please sign in to comment.