Update net_err_sugest_fetch_with_cli test
The case of the error message was updated in Rust 1.95, ignore the case on this error message for backwards compatability.
This commit is contained in:
parent
78a9ec15fc
commit
ff5a5aa591
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ function test_git-fetch-with-cli() {
|
|||
log_file=$(mktemp)
|
||||
|
||||
rlRun "$cargo_cmd |& tee $log_file" 101
|
||||
rlAssertGrep "Unable to update $REMOTE_URL" "$log_file" || cat "$log_file"
|
||||
rlAssertGrep "unable to update $REMOTE_URL" "$log_file" -i || cat "$log_file"
|
||||
rlAssertNotGrep "net.git-fetch-with-cli" "$log_file" || cat "$log_file"
|
||||
|
||||
rm -f "$log_file"
|
||||
|
|
@ -69,7 +69,7 @@ rlJournalStart
|
|||
rlRun "cargo check -v |& tee output.log" 101
|
||||
# Ensure DNS was not able to resolve the remote
|
||||
rlAssertGrep 'spurious network error' output.log
|
||||
rlAssertGrep "Unable to update $REMOTE_URL" output.log
|
||||
rlAssertGrep "unable to update $REMOTE_URL" output.log -i
|
||||
# Ensure cargo suggests using net.git-fetch-with-cli
|
||||
rlAssertGrep "net.git-fetch-with-cli" output.log
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue