mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
cp: fix wrong test names for update
This commit is contained in:
parent
c0e4e4f757
commit
983fee0cea
1 changed files with 3 additions and 3 deletions
|
@ -323,7 +323,7 @@ fn test_cp_arg_update_older_dest_older_than_src() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_cp_arg_update_short_fail() {
|
||||
fn test_cp_arg_update_short_no_overwrite() {
|
||||
// same as --update=older
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
|
@ -349,7 +349,7 @@ fn test_cp_arg_update_short_fail() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn test_cp_arg_update_short_succeed() {
|
||||
fn test_cp_arg_update_short_overwrite() {
|
||||
// same as --update=older
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
|
@ -371,7 +371,7 @@ fn test_cp_arg_update_short_succeed() {
|
|||
.no_stderr()
|
||||
.no_stdout();
|
||||
|
||||
assert_eq!(at.read(new), "new content\n")
|
||||
assert_eq!(at.read(old), "new content\n")
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue