debian-forge-cli/bib/pkg
Michael Vogt 75407ea511 progress: tweak how os.Stderr is mocked
This commit changes the way `os.Stderr` is mocked so that higher
level consumes of the libary can use helpers can replace os.Stderr
(like `testutil.CaptureStdio()` is doing). The existing approach
assigns the "real" os.Stderr to osStderr so early that it cannot
be changed later.
2025-03-31 19:42:59 +00:00
..
progress progress: tweak how os.Stderr is mocked 2025-03-31 19:42:59 +00:00