mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
pinky: cleanup the code
This commit is contained in:
parent
e0c950e145
commit
6fff3a7665
3 changed files with 11 additions and 33 deletions
|
@ -145,8 +145,11 @@ fn test_invalid_option() {
|
|||
ucmd.fails();
|
||||
}
|
||||
|
||||
#[allow(unused_variable)]
|
||||
const NORMAL_FMTSTR: &'static str = "%a %A %b %B %d %D %f %F %g %G %h %i %m %n %o %s %u %U %w %W %x %X %y %Y %z %Z";
|
||||
#[allow(unused_variable)]
|
||||
const DEV_FMTSTR: &'static str = "%a %A %b %B %d %D %f %F %g %G %h %i %m %n %o %s (%t/%T) %u %U %w %W %x %X %y %Y %z %Z";
|
||||
#[allow(unused_variable)]
|
||||
const FS_FMTSTR: &'static str = "%a %b %c %d %f %i %l %n %s %S %t %T";
|
||||
|
||||
#[test]
|
||||
|
@ -230,6 +233,7 @@ fn test_printf() {
|
|||
assert_eq!(ucmd.run().stdout, "123?\r\"\\\x07\x08\x1B\x0C\x0B /\x12wZJ\n");
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn expected_result(args: &[&str]) -> String {
|
||||
use std::process::Command;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue