test coverage
This commit is contained in:
parent
261f20abef
commit
7b40eab657
|
@ -19,6 +19,7 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
// Logger.
|
||||
var logger = NewLogger(os.Stdout)
|
||||
|
||||
func TestSetLevel(t *testing.T) {
|
||||
|
|
|
@ -42,7 +42,7 @@ func Recover() {
|
|||
}
|
||||
}
|
||||
|
||||
// stack implements Stack, skipping 2 frames
|
||||
// stack implements Stack, skipping 2 frames.
|
||||
func stack() []byte {
|
||||
buf := new(bytes.Buffer) // the returned data
|
||||
// As we loop, we open files and read them. These variables record the currently
|
||||
|
|
Loading…
Reference in New Issue