debian-forge-cli/bib/pkg/progress
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
..
export_test.go progress: tweak how os.Stderr is mocked 2025-03-31 19:42:59 +00:00
progress.go progress: tweak how os.Stderr is mocked 2025-03-31 19:42:59 +00:00
progress_test.go progress: fix missing build log output on errors in progress 2025-03-31 19:42:59 +00:00