Skip to content

Commit

Permalink
tests - add init
Browse files Browse the repository at this point in the history
  • Loading branch information
vmikk committed Oct 8, 2024
1 parent c9a10da commit 7b89663
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions seqhasher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,11 @@ func TestMain(m *testing.M) {
// Global slice to store names of failed tests
var failedTests []string

// Initialize failedTests slice
func init() {
failedTests = make([]string, 0)
}

// TestAll runs all tests and captures failures
func TestAll(t *testing.T) {
t.Run("ParseFlags", TestParseFlags)
Expand Down

0 comments on commit 7b89663

Please sign in to comment.