diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-11-04 22:55:46 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-11-04 22:55:46 +0900 |
| commit | 69cc64ef56c4b46954514d7ef1b93b3861443255 (patch) | |
| tree | e7a334465e270450b39191697d4561bb21076559 /internal/app | |
| parent | fc25ac2523c512c67d73db5bbbd47224dc0b2001 (diff) | |
linux: provide access to stdout
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app')
| -rw-r--r-- | internal/app/app_nixos_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/app/app_nixos_test.go b/internal/app/app_nixos_test.go index c5a31a65..057ced98 100644 --- a/internal/app/app_nixos_test.go +++ b/internal/app/app_nixos_test.go @@ -2,6 +2,7 @@ package app_test import ( "fmt" + "io" "io/fs" "os/user" "strconv" @@ -579,6 +580,10 @@ func (s *stubNixOS) Exit(code int) { panic("called exit on stub with code " + strconv.Itoa(code)) } +func (s *stubNixOS) Stdout() io.Writer { + panic("requested stdout") +} + func (s *stubNixOS) FshimPath() string { return "/nix/store/00000000000000000000000000000000-fortify-0.0.10/bin/.fshim" } |
