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