mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
rustfmt the recent change
This commit is contained in:
parent
5f61848a38
commit
3ac481e4d3
4 changed files with 7 additions and 12 deletions
|
@ -397,10 +397,10 @@ fn test_dev_full_show_all() {
|
|||
#[cfg(unix)]
|
||||
fn test_domain_socket() {
|
||||
use std::io::prelude::*;
|
||||
use std::sync::{Arc, Barrier};
|
||||
use std::thread;
|
||||
use tempdir::TempDir;
|
||||
use unix_socket::UnixListener;
|
||||
use std::sync::{Barrier, Arc};
|
||||
|
||||
let dir = TempDir::new("unix_socket").expect("failed to create dir");
|
||||
let socket_path = dir.path().join("sock");
|
||||
|
|
|
@ -585,8 +585,8 @@ fn test_check_silent() {
|
|||
#[test]
|
||||
fn test_trailing_separator() {
|
||||
new_ucmd!()
|
||||
.args(&["-t", "x", "-k", "1,1"])
|
||||
.pipe_in("aax\naaa\n")
|
||||
.succeeds()
|
||||
.stdout_is("aax\naaa\n");
|
||||
}
|
||||
.args(&["-t", "x", "-k", "1,1"])
|
||||
.pipe_in("aax\naaa\n")
|
||||
.succeeds()
|
||||
.stdout_is("aax\naaa\n");
|
||||
}
|
||||
|
|
|
@ -346,9 +346,5 @@ fn test_negative_indexing() {
|
|||
|
||||
#[test]
|
||||
fn test_sleep_interval() {
|
||||
new_ucmd!()
|
||||
.arg("-s")
|
||||
.arg("10")
|
||||
.arg(FOOBAR_TXT)
|
||||
.succeeds();
|
||||
new_ucmd!().arg("-s").arg("10").arg(FOOBAR_TXT).succeeds();
|
||||
}
|
||||
|
|
|
@ -79,4 +79,3 @@ fn test_failed_incorrect_arg() {
|
|||
let (_at, mut ucmd) = at_and_ucmd!();
|
||||
ucmd.args(&["-s", "+5A", TFILE1]).fails();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue