mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
mktemp: remove TEST_TEMPLATE9
This commit is contained in:
parent
5be5f85043
commit
a01dc20c30
1 changed files with 1 additions and 4 deletions
|
@ -23,7 +23,6 @@ static TEST_TEMPLATE7: &str = "XXXtemplate"; // spell-checker:disable-line
|
|||
static TEST_TEMPLATE8: &str = "tempXXXl/ate";
|
||||
#[cfg(windows)]
|
||||
static TEST_TEMPLATE8: &str = "tempXXXl\\ate";
|
||||
static TEST_TEMPLATE9: &str = "a.XXXX";
|
||||
|
||||
#[cfg(not(windows))]
|
||||
const TMPDIR: &str = "TMPDIR";
|
||||
|
@ -573,9 +572,7 @@ fn test_template_path_separator() {
|
|||
/// Test that a prefix with a point is valid.
|
||||
#[test]
|
||||
fn test_prefix_template_separator() {
|
||||
new_ucmd!()
|
||||
.args(&["-p", ".", "-t", TEST_TEMPLATE9])
|
||||
.succeeds();
|
||||
new_ucmd!().args(&["-p", ".", "-t", "a.XXXX"]).succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue