This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
馃悰 Update handling of flags for Go 1.13+
Go 1.13 introduces a Testing.Init function for handling test flags. https://tip.golang.org/doc/go1.13#testing This has the unfortunate consequence of panicking if flags are parsed before testing.Init is called (for instance, in init). We therefore update the code to parse flags in the Testing Main override such that tests may be run in Go 1.11-1.14. Related: golang/go#31859 Co-authored-by: Andrew Pinkham <code@andrewsforge.com> PR #3 [close ch1056]
- Loading branch information