Skip to content

Commit

Permalink
tests: check for stderr presences, not exact text
Browse files Browse the repository at this point in the history
Changes in libcurl 8.3.0 make some testcases fail due to different error
message wording. Adjust testcases so only the presence of an stderr is
verified, not the wording in detail.

Fixes #239
  • Loading branch information
abbbi authored and bagder committed Oct 27, 2023
1 parent 8c9132b commit 3819d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@
}
],
"returncode": 9,
"stderr": "trurl error: No host part in the URL []\ntrurl error: Try trurl -h for help\n"
"stderr": true
}
},
{
Expand Down Expand Up @@ -1744,7 +1744,7 @@
"expected": {
"stdout": "emanuele6://curl.se/trurl\nhttps://example.org/\n",
"returncode": 0,
"stderr": "trurl note: No host part in the URL []\n"
"stderr": true
}
},
{
Expand Down

0 comments on commit 3819d80

Please sign in to comment.