-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flumetest: use t.Cleanup() to revert changes
This means the caller doesn’t need to remember to defer call the returned cleanup function. The caller can just call flumetest.Start(), and ignore the return value. This is how flume v2 will work. Also added more tests.
- Loading branch information
Russ Egan
committed
Jan 12, 2024
1 parent
cbc86b8
commit eac08b5
Showing
2 changed files
with
199 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters