mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 20:47:46 +00:00
Merge pull request #5139 from cakebaker/bump_fundu
Bump fundu & fix two failing tests
This commit is contained in:
commit
6721a23fd3
3 changed files with 7 additions and 7 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -900,18 +900,18 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fundu"
|
name = "fundu"
|
||||||
version = "1.2.0"
|
version = "2.0.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "34804ed59f10b3a630c79822ebf7370b562b7281028369e9baa40547c17f8bdc"
|
checksum = "6c04cb831a8dccadfe3774b07cba4574a1ec24974d761510e65d8a543c2d7cb4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fundu-core",
|
"fundu-core",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fundu-core"
|
name = "fundu-core"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "71a99190954ca83bade03ba054799b17a158ea948a6855c6bb8121adb6b49d9f"
|
checksum = "76a889e633afd839fb5b04fe53adfd588cefe518e71ec8d3c929698c6daf2acd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "futures"
|
name = "futures"
|
||||||
|
|
|
@ -280,7 +280,7 @@ filetime = "0.2"
|
||||||
fnv = "1.0.7"
|
fnv = "1.0.7"
|
||||||
fs_extra = "1.3.0"
|
fs_extra = "1.3.0"
|
||||||
fts-sys = "0.2"
|
fts-sys = "0.2"
|
||||||
fundu = "1.2.0"
|
fundu = "2.0.0"
|
||||||
gcd = "2.3"
|
gcd = "2.3"
|
||||||
glob = "0.3.1"
|
glob = "0.3.1"
|
||||||
half = "2.2"
|
half = "2.2"
|
||||||
|
|
|
@ -10,7 +10,7 @@ fn test_invalid_time_interval() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
.arg("xyz")
|
.arg("xyz")
|
||||||
.fails()
|
.fails()
|
||||||
.usage_error("invalid time interval 'xyz': Invalid input: 'xyz' at position 1");
|
.usage_error("invalid time interval 'xyz': Invalid input: xyz");
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
.args(&["--", "-1"])
|
.args(&["--", "-1"])
|
||||||
.fails()
|
.fails()
|
||||||
|
@ -211,7 +211,7 @@ fn test_sleep_when_input_has_only_whitespace_then_error(#[case] input: &str) {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_sleep_when_multiple_input_some_with_error_then_shows_all_errors() {
|
fn test_sleep_when_multiple_input_some_with_error_then_shows_all_errors() {
|
||||||
let expected = "invalid time interval 'abc': Invalid input: 'abc' at position 1\n\
|
let expected = "invalid time interval 'abc': Invalid input: abc\n\
|
||||||
sleep: invalid time interval '1years': Invalid time unit: 'years' at position 2\n\
|
sleep: invalid time interval '1years': Invalid time unit: 'years' at position 2\n\
|
||||||
sleep: invalid time interval ' ': Found only whitespace in input";
|
sleep: invalid time interval ' ': Found only whitespace in input";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue