Skip to content

Commit 539e5ea

Browse files
committed
test: add documentation to TestGiteaCancelRun
Added a comment to the TestGiteaCancelRun function to clarify the intended behavior of canceling pipeline runs via Gitea comments.
1 parent 5f5f4b3 commit 539e5ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/gitea_gitops_commands_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
"gotest.tools/v3/assert"
2525
)
2626

27+
// TestGiteaCancelRun will test that we can cancel a pipelinerun with the /cancel comment and that the pipelinerun is properly marked as cancelled.
2728
func TestGiteaCancelRun(t *testing.T) {
2829
topts := &tgitea.TestOpts{
2930
TargetEvent: triggertype.PullRequest.String(),

0 commit comments

Comments
 (0)