Remove markdown test docs and document tests inline

This commit is contained in:
2026-03-24 02:30:38 +08:00
parent fb2b2dc8be
commit fd2b57feaf
257 changed files with 174 additions and 10431 deletions
@@ -6,6 +6,7 @@ import (
"testing"
)
// TestCancelMarksThreadCancelled verifies cancel marks thread cancelled.
func TestCancelMarksThreadCancelled(t *testing.T) {
t.Parallel()
@@ -47,6 +48,7 @@ func TestCancelMarksThreadCancelled(t *testing.T) {
}
}
// TestCancelPersistsReasonAndArtifact verifies cancel persists reason and artifact.
func TestCancelPersistsReasonAndArtifact(t *testing.T) {
t.Parallel()
@@ -127,6 +129,7 @@ func TestCancelPersistsReasonAndArtifact(t *testing.T) {
}
}
// TestCancelRejectsWhenThreadMissing verifies cancel rejects when thread missing.
func TestCancelRejectsWhenThreadMissing(t *testing.T) {
t.Parallel()
@@ -145,4 +148,3 @@ func TestCancelRejectsWhenThreadMissing(t *testing.T) {
}
assertErrorJSON(t, stdout, "not_found")
}