mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-27 03:21:25 +01:00
fix: address verified review findings (issues-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
16 files changed
+225
-27
No files matched your search
@@ -50,7 +50,10 @@ func TestUsageErrorsPrecedeRequests(t *testing.T) {
|
||||
{[]string{"issue", "create", "--no-input"}, "missing required input: supply --title"},
|
||||
{[]string{"issue", "create", "--title", "safe", "--json=unknown"}, "unknown JSON field \"unknown\""},
|
||||
{[]string{"issue", "create", "--title", "safe", "--json", "--jq", "["}, "invalid --jq expression"},
|
||||
{[]string{"issue", "create", "--milestone="}, "--milestone needs a title or ID; use --remove-milestone to clear it"},
|
||||
{[]string{"issue", "create", "--milestone="}, "--milestone needs a title or ID; omit --milestone for none"},
|
||||
{[]string{"issue", "edit", "1", "--milestone="}, "--milestone needs a title or ID; use --remove-milestone to clear it"},
|
||||
{[]string{"issue", "create", "--web", "--label", "bug"}, "--label cannot be combined with --web"},
|
||||
{[]string{"issue", "create", "--web", "--deadline", "2026-12-24"}, "--deadline cannot be combined with --web"},
|
||||
{[]string{"issue", "create", "--assignee", "alice, "}, "assignee names cannot be empty"},
|
||||
{[]string{"issue", "create", "--template="}, "--template cannot be empty"},
|
||||
{[]string{"issue", "create", "--title", "x", "--attachment", "."}, ". is not a regular file"},
|
||||
|
||||
Reference in new issue
Block a user