Remove markdown test docs and document tests inline
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// TestShowReturnsThreadAndMessageHistory verifies show returns the thread with ordered message history.
|
||||
func TestShowReturnsThreadAndMessageHistory(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -65,6 +66,7 @@ func TestShowReturnsThreadAndMessageHistory(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestShowIncludesArtifactsPerMessage verifies show includes message artifacts in the thread payload.
|
||||
func TestShowIncludesArtifactsPerMessage(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -122,6 +124,7 @@ func TestShowIncludesArtifactsPerMessage(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestShowMarkReadAdvancesReadCursor verifies show --mark-read clears the thread from unread fetch results.
|
||||
func TestShowMarkReadAdvancesReadCursor(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -176,6 +179,7 @@ func TestShowMarkReadAdvancesReadCursor(t *testing.T) {
|
||||
assertErrorJSON(t, stdout, "no_matching_work")
|
||||
}
|
||||
|
||||
// TestShowRejectsWhenThreadMissing verifies show returns not_found for an unknown thread.
|
||||
func TestShowRejectsWhenThreadMissing(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -193,4 +197,3 @@ func TestShowRejectsWhenThreadMissing(t *testing.T) {
|
||||
}
|
||||
assertErrorJSON(t, stdout, "not_found")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user