]> git.giacomolli.uk - onechat/blob - discard_log_helper_test.go
Let the agent keep user instructions
[onechat] / discard_log_helper_test.go
1 package main
2
3 import (
4 "io"
5 "log"
6 )
7
8 // discardLog returns a logger whose lines a test does not read.
9 func discardLog() *log.Logger {
10 return log.New(io.Discard, "", 0)
11 }