Skip to content

Commit b0360a7

Browse files
committed
Revert "tests.json accept alternate non-verbose stderr messages" (negative test)
This reverts commit 6d17daf.
1 parent abd7c2a commit b0360a7

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

tests.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,10 +1974,7 @@
19741974
"expected": {
19751975
"stdout": "",
19761976
"returncode": 9,
1977-
"stderr": [
1978-
"trurl error: Bad scheme [hello]\ntrurl error: Try trurl -h for help\n",
1979-
"trurl error: Error [hello]\ntrurl error: Try trurl -h for help\n"
1980-
]
1977+
"stderr": "trurl error: Bad scheme [hello]\ntrurl error: Try trurl -h for help\n"
19811978
}
19821979
},
19831980
{
@@ -2021,10 +2018,7 @@
20212018
"expected": {
20222019
"stdout": "https://example.org/\ngit://curl.se/\n",
20232020
"returncode": 0,
2024-
"stderr": [
2025-
"trurl note: Bad scheme [foo]\ntrurl note: Bad scheme [hi]\ntrurl note: Bad scheme [hey]\n",
2026-
"trurl note: Error [foo]\ntrurl note: Error [hi]\ntrurl note: Error [hey]\n"
2027-
]
2021+
"stderr": "trurl note: Bad scheme [foo]\ntrurl note: Bad scheme [hi]\ntrurl note: Bad scheme [hey]\n"
20282022
}
20292023
},
20302024
{
@@ -2773,10 +2767,7 @@
27732767
]
27742768
},
27752769
"expected": {
2776-
"stderr": [
2777-
"trurl note: URL decode error, most likely because of rubbish in the input (query)\n",
2778-
"trurl note: Error (query)\n"
2779-
],
2770+
"stderr": "trurl note: URL decode error, most likely because of rubbish in the input (query)\n",
27802771
"returncode": 0,
27812772
"stdout": "\n"
27822773
}

0 commit comments

Comments
 (0)