Skip to content

Commit

Permalink
tests: verify --get + --json rejects
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Sep 16, 2024
1 parent 95edef9 commit 8173352
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -3244,5 +3244,35 @@
"stderr": "trurl error: only single-letter query separators are supported\ntrurl error: Try trurl -h for help\n",
"returncode": 4
}
},
{
"input": {
"arguments": [
"url",
"--json",
"--get",
"{port}"
]
},
"expected": {
"stdout": "",
"stderr": "trurl error: --get is mutually exclusive with --json\ntrurl error: Try trurl -h for help\n",
"returncode": 4
}
},
{
"input": {
"arguments": [
"url",
"--get",
"{port}",
"--json"
]
},
"expected": {
"stdout": "",
"stderr": "trurl error: --json is mutually exclusive with --get\ntrurl error: Try trurl -h for help\n",
"returncode": 4
}
}
]

0 comments on commit 8173352

Please sign in to comment.