Remove markdown test docs and document tests inline
This commit is contained in:
@@ -2,6 +2,7 @@ package inbox
|
||||
|
||||
import "testing"
|
||||
|
||||
// TestClaimAcquiresThreadLease verifies claim acquires thread lease.
|
||||
func TestClaimAcquiresThreadLease(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -34,6 +35,7 @@ func TestClaimAcquiresThreadLease(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestClaimRejectsWhenThreadMissing verifies claim rejects when thread missing.
|
||||
func TestClaimRejectsWhenThreadMissing(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -51,6 +53,7 @@ func TestClaimRejectsWhenThreadMissing(t *testing.T) {
|
||||
assertErrorJSON(t, stdout, "not_found")
|
||||
}
|
||||
|
||||
// TestClaimRejectsWhenThreadAlreadyClaimed verifies claim rejects when thread already claimed.
|
||||
func TestClaimRejectsWhenThreadAlreadyClaimed(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -79,6 +82,7 @@ func TestClaimRejectsWhenThreadAlreadyClaimed(t *testing.T) {
|
||||
assertErrorJSON(t, stdout, "lease_conflict")
|
||||
}
|
||||
|
||||
// TestClaimRecordsRequestedLeaseDuration verifies claim records requested lease duration.
|
||||
func TestClaimRecordsRequestedLeaseDuration(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user