Remove markdown test docs and document tests inline
This commit is contained in:
@@ -59,6 +59,7 @@ func lastThreadMessageFromShow(t *testing.T, showResp map[string]any) map[string
|
||||
return lastMessage
|
||||
}
|
||||
|
||||
// TestUpdateMovesThreadToInProgress verifies update moves thread to in progress.
|
||||
func TestUpdateMovesThreadToInProgress(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -90,6 +91,7 @@ func TestUpdateMovesThreadToInProgress(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestUpdateMovesThreadToBlockedWithPayload verifies update moves thread to blocked with payload.
|
||||
func TestUpdateMovesThreadToBlockedWithPayload(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -125,6 +127,7 @@ func TestUpdateMovesThreadToBlockedWithPayload(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestUpdateAcceptsBodyFileAndArtifact verifies update accepts body file and artifact.
|
||||
func TestUpdateAcceptsBodyFileAndArtifact(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -182,6 +185,7 @@ func TestUpdateAcceptsBodyFileAndArtifact(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestUpdateRejectsInvalidPayloadJSON verifies update rejects invalid payload JSON.
|
||||
func TestUpdateRejectsInvalidPayloadJSON(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -204,6 +208,7 @@ func TestUpdateRejectsInvalidPayloadJSON(t *testing.T) {
|
||||
assertErrorJSON(t, stdout, "invalid_input")
|
||||
}
|
||||
|
||||
// TestUpdateRejectsNonOwner verifies update rejects non owner.
|
||||
func TestUpdateRejectsNonOwner(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user