mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Fix some semicolon_if_nothing_returned
This commit is contained in:
parent
93f28dacc0
commit
b94d10f080
2 changed files with 13 additions and 13 deletions
|
@ -255,7 +255,7 @@ fn test_cp_arg_update_none() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(TEST_HOW_ARE_YOU_SOURCE), "How are you?\n")
|
assert_eq!(at.read(TEST_HOW_ARE_YOU_SOURCE), "How are you?\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -272,7 +272,7 @@ fn test_cp_arg_update_all() {
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
at.read(TEST_HOW_ARE_YOU_SOURCE),
|
at.read(TEST_HOW_ARE_YOU_SOURCE),
|
||||||
at.read(TEST_HELLO_WORLD_SOURCE)
|
at.read(TEST_HELLO_WORLD_SOURCE)
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -294,7 +294,7 @@ fn test_cp_arg_update_older_dest_not_older_than_src() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(new), "new content\n")
|
assert_eq!(at.read(new), "new content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -319,7 +319,7 @@ fn test_cp_arg_update_older_dest_older_than_src() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(old), "new content\n")
|
assert_eq!(at.read(old), "new content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -345,7 +345,7 @@ fn test_cp_arg_update_short_no_overwrite() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(new), "new content\n")
|
assert_eq!(at.read(new), "new content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -371,7 +371,7 @@ fn test_cp_arg_update_short_overwrite() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(old), "new content\n")
|
assert_eq!(at.read(old), "new content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -399,7 +399,7 @@ fn test_cp_arg_update_none_then_all() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(new), "old content\n")
|
assert_eq!(at.read(new), "old content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -427,7 +427,7 @@ fn test_cp_arg_update_all_then_none() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(new), "new content\n")
|
assert_eq!(at.read(new), "new content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -867,7 +867,7 @@ fn test_mv_arg_update_none_then_all() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(new), "old content\n")
|
assert_eq!(at.read(new), "old content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -895,7 +895,7 @@ fn test_mv_arg_update_all_then_none() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(new), "new content\n")
|
assert_eq!(at.read(new), "new content\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -920,7 +920,7 @@ fn test_mv_arg_update_older_dest_older() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(old), new_content)
|
assert_eq!(at.read(old), new_content);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -946,7 +946,7 @@ fn test_mv_arg_update_short_overwrite() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(old), new_content)
|
assert_eq!(at.read(old), new_content);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -972,7 +972,7 @@ fn test_mv_arg_update_short_no_overwrite() {
|
||||||
.no_stderr()
|
.no_stderr()
|
||||||
.no_stdout();
|
.no_stdout();
|
||||||
|
|
||||||
assert_eq!(at.read(new), new_content)
|
assert_eq!(at.read(new), new_content);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue