Remove markdown test docs and document tests inline
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user