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:
Paul Murphy 2026-04-20 10:50:04 -05:00
commit ff5a5aa591

View file

@ -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