muted test not for windows and added windows temp file convention (#1748)

* muted test not for windows and added windows temp file convention

* Update mktemp.rs

Revert windows mktmp template difference

Co-authored-by: Chad Brewbaker <chad@flyingdogsolutions.com>
This commit is contained in:
Chad Brewbaker
2021-03-06 18:26:55 +01:00
committed by GitHub
co-authored by Chad Brewbaker
parent d06f91fbe2
commit c820329efd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ mod tempdir;
static ABOUT: &str = "create a temporary file or directory.";
static VERSION: &str = env!("CARGO_PKG_VERSION");
static DEFAULT_TEMPLATE: &str = "tmp.XXXXXXXXXX";
static OPT_DIRECTORY: &str = "directory";
+1 -1
View File
@@ -285,7 +285,7 @@ fn test_ls_ls_color() {
scene.ucmd().arg("--color=never").arg("z").succeeds();
}
#[cfg(not(target_os = "macos"))] // Truncate not available on mac
#[cfg(not(any(target_os = "macos", target_os = "windows")))] // Truncate not available on mac or win
#[test]
fn test_ls_human() {
let scene = TestScenario::new(util_name!());