Skip to content

Commit

Permalink
chore(deps): Bump github.com/stretchr/testify to v1.10.0
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Alekseev <[email protected]>
  • Loading branch information
aalekseevx committed Jan 9, 2025
1 parent cfad92d commit b985679
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/json-iterator/go v1.1.12
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
github.com/valyala/bytebufferpool v1.0.0
go.uber.org/zap v1.27.0
golang.org/x/sync v0.8.0
Expand Down
4 changes: 2 additions & 2 deletions v2/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
Expand Down
4 changes: 0 additions & 4 deletions v2/types/value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ func TestCloneTimestamp(t *testing.T) {
cloned := types.Clone(original).(types.Timestamp)

require.Equal(t, original, cloned)
require.NotSame(t, original, cloned)
require.NotSame(t, original.Time, cloned.Time)
}

func TestCloneTimestampPointer(t *testing.T) {
Expand All @@ -277,15 +275,13 @@ func TestCloneTimestampPointer(t *testing.T) {

require.Equal(t, original, cloned)
require.NotSame(t, original, cloned)
require.NotSame(t, original.Time, cloned.Time)
}

func TestCloneTime(t *testing.T) {
original := time.Now()
cloned := types.Clone(original).(types.Timestamp)

require.Equal(t, original, cloned.Time)
require.NotSame(t, original, cloned.Time)
}

func TestCloneTimePointer(t *testing.T) {
Expand Down

0 comments on commit b985679

Please sign in to comment.