Skip to content

Commit

Permalink
Update openfeature/testing/testprovider.go
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert authored Nov 5, 2024
1 parent 3e16186 commit 90093e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfeature/testing/testprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (tp TestProvider) UsingFlags(test *testing.T, flags map[string]memprovider.
tp.providers.Store(test.Name(), memprovider.NewInMemoryProvider(flags))
}

// Cleanup deletes the test provider bound to the current test and should be executed after each test execution
// Cleanup deletes the flags provider bound to the current test and should be executed after each test execution
// e.g. using a defer statement.
func (tp TestProvider) Cleanup() {
tp.providers.Delete(getGoroutineLocal())
Expand Down

0 comments on commit 90093e7

Please sign in to comment.