File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 "regexp"
99 "strings"
1010
11- "github.com/juju/loggo"
11+ "github.com/juju/loggo/v2 "
1212 gc "gopkg.in/check.v1"
1313)
1414
Original file line number Diff line number Diff line change 44package checkers_test
55
66import (
7- "github.com/juju/loggo"
7+ "github.com/juju/loggo/v2 "
88 gc "gopkg.in/check.v1"
99
1010 jc "github.com/juju/testing/checkers"
Original file line number Diff line number Diff line change 11module github.com/juju/testing
22
3- go 1.19
3+ go 1.21
4+
5+ toolchain go1.21.6
46
57require (
68 github.com/juju/errors v1.0.0
7- github.com/juju/loggo v1 .0.0
8- github.com/juju/utils/v3 v3.0 .0
9+ github.com/juju/loggo/v2 v2 .0.0
10+ github.com/juju/utils/v3 v3.1 .0
911 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
1012 gopkg.in/yaml.v2 v2.4.0
1113)
1214
1315require (
1416 github.com/juju/clock v1.0.2 // indirect
17+ github.com/juju/loggo v0.0.0-20210728185423-eebad3a902c4 // indirect
1518 github.com/kr/pretty v0.3.1 // indirect
1619 github.com/kr/text v0.2.0 // indirect
1720 github.com/rogpeppe/go-internal v1.9.0 // indirect
1821 golang.org/x/crypto v0.3.0 // indirect
19- golang.org/x/net v0.2 .0 // indirect
22+ golang.org/x/net v0.7 .0 // indirect
2023)
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 99 "os"
1010 "path/filepath"
1111
12- "github.com/juju/loggo"
12+ "github.com/juju/loggo/v2 "
1313 gc "gopkg.in/check.v1"
1414)
1515
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ package testing
66import (
77 gc "gopkg.in/check.v1"
88
9- "github.com/juju/loggo"
9+ "github.com/juju/loggo/v2 "
1010)
1111
1212type logSuite struct {}
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ package testing_test
22
33import (
44 "fmt"
5-
65 "log"
76
8- "github.com/juju/loggo"
7+ "github.com/juju/loggo/v2"
8+
99 "github.com/juju/testing"
1010)
1111
Original file line number Diff line number Diff line change 44 "reflect"
55 "sync"
66
7- "github.com/juju/loggo"
7+ "github.com/juju/loggo/v2 "
88)
99
1010// NewCallMocker returns a CallMocker which will log calls and results
You can’t perform that action at this time.
0 commit comments