1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

remove unnecessary 'to_owned'

This commit is contained in:
Daniel Eades 2022-01-30 11:14:56 +01:00
parent 8bb6c4effa
commit f4c6ea0ee8
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ fn test_piped_to_dev_full() {
.set_stdout(dev_full)
.pipe_in_fixture("alpha.txt")
.fails()
.stderr_contains(&"No space left on device".to_owned());
.stderr_contains("No space left on device");
}
}
}