mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-27 09:48:59 -07:00
fix: modified to fix some of the test failures.
This commit is contained in:
parent
bdeaf2ec92
commit
8f77f2258c
7 changed files with 8 additions and 8 deletions
|
@ -49,7 +49,7 @@ func TestWorkerMain(t *testing.T) {
|
|||
}
|
||||
|
||||
func captureOutput(f func()) string {
|
||||
original := *log.Writer()
|
||||
original := log.Writer()
|
||||
r, w, _ := os.Pipe()
|
||||
log.SetOutput(w)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue