extern crate configdir; mod helper; #[test] fn it_works_on_mac() { let home = helper::env("HOME"); let expected = home.join("Library/Application Support/rust-configdir-test"); helper::dir_does_not_exist(&expected); let path = configdir::get("rust-configdir-test"); assert_eq!(expected, path); helper::dir_exists(&expected); }