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"
)
// TestFailMarksThreadFailed verifies fail marks thread failed.
func TestFailMarksThreadFailed(t *testing.T) {
t.Parallel()
@@ -36,6 +37,7 @@ func TestFailMarksThreadFailed(t *testing.T) {
}
}
// TestFailPersistsFailureBodyAndArtifact verifies fail persists failure body and artifact.
func TestFailPersistsFailureBodyAndArtifact(t *testing.T) {
t.Parallel()
@@ -92,6 +94,7 @@ func TestFailPersistsFailureBodyAndArtifact(t *testing.T) {
}
}
// TestFailRejectsNonOwner verifies fail rejects non owner.
func TestFailRejectsNonOwner(t *testing.T) {
t.Parallel()
@@ -112,6 +115,7 @@ func TestFailRejectsNonOwner(t *testing.T) {
assertErrorJSON(t, stdout, "lease_conflict")
}
// TestFailRejectsOnTerminalThread verifies fail rejects on terminal thread.
func TestFailRejectsOnTerminalThread(t *testing.T) {
t.Parallel()