Skip to content

Commit

Permalink
fix(deps): update go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Feb 12, 2025
1 parent 90e5418 commit c0a06ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
3 changes: 2 additions & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module tools

go 1.22.1
go 1.23.0

toolchain go1.23.6

require (
Expand Down
11 changes: 0 additions & 11 deletions utilx/defaults_test.go
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
package utilx

import (
"testing"
"time"

"bou.ke/monkey"
. "gopkg.in/check.v1"
)

// Hook up gocheck into the "go test" runner.

func Test(t *testing.T) {
monkey.Patch(time.Now, func() time.Time {
t, _ := time.Parse("2006-01-02 15:04:05", "2020-06-10 12:00:00")
return t
})

TestingT(t)
}

type DefaultsSuite struct{}

var _ = Suite(&DefaultsSuite{})
Expand Down

0 comments on commit c0a06ab

Please sign in to comment.