We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f6842a commit 90c0954Copy full SHA for 90c0954
crates/bough-cli/src/config.rs
@@ -974,12 +974,14 @@ cmd = "echo test"
974
}
975
976
#[test]
977
+ #[cfg(unix)]
978
fn resolve_root_path_with_absolute_config_dir() {
979
let result = resolve_root_path(std::path::Path::new("/absolute/config"), "..");
980
assert_eq!(result, std::path::PathBuf::from("/absolute"));
981
982
983
984
985
fn resolve_root_path_with_absolute_root() {
986
let result = resolve_root_path(std::path::Path::new("relative"), "/absolute/root");
987
assert_eq!(result, std::path::PathBuf::from("/absolute/root"));
0 commit comments