Skip to content

Commit

Permalink
add missing testsuite description field
Browse files Browse the repository at this point in the history
  • Loading branch information
raphi011 committed Nov 18, 2024
1 parent b9eca99 commit 7302663
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handoff.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ type TestSuite struct {
// Namespace allows grouping of test suites, e.g. by team name.
Namespace string
MaxTestAttempts int
Description string
Setup func() error
Teardown func() error
Timeout time.Duration
Expand Down Expand Up @@ -643,6 +644,7 @@ func (h *Server) mapTestSuites() error {
Namespace: ts.Namespace,
MaxTestAttempts: ts.MaxTestAttempts,
Setup: ts.Setup,
Description: ts.Description,

Check failure on line 647 in handoff.go

View workflow job for this annotation

GitHub Actions / test

unknown field Description in struct literal of type "github.com/raphi011/handoff/internal/model".TestSuite
Teardown: ts.Teardown,
Tests: make(map[string]model.TestFunc),
}
Expand Down

0 comments on commit 7302663

Please sign in to comment.