From 623a7d5952b77a76f4bf122f3e057fd2249bc99d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Apr 2025 22:47:59 +0000 Subject: deps(actions): Bump golangci/golangci-lint-action from 6 to 7 (#2357) * deps(actions): Bump golangci/golangci-lint-action from 6 to 7 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * fix(lint): Fixing new lint errors Signed-off-by: Dave Henderson --------- Signed-off-by: dependabot[bot] Signed-off-by: Dave Henderson Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson --- math/math_test.go | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'math') diff --git a/math/math_test.go b/math/math_test.go index 358f172f..d5e950f6 100644 --- a/math/math_test.go +++ b/math/math_test.go @@ -12,18 +12,18 @@ func TestMath(t *testing.T) { } func TestSeq(t *testing.T) { - assert.EqualValues(t, []int64{1, 2, 3}, Seq(1, 3, 1)) - assert.EqualValues(t, []int64{1, 3}, Seq(1, 3, 2)) - assert.EqualValues(t, []int64{0, 2}, Seq(0, 3, 2)) - assert.EqualValues(t, []int64{0, 2, 4}, Seq(0, 4, 2)) - assert.EqualValues(t, []int64{0, -5, -10}, Seq(0, -10, -5)) - assert.EqualValues(t, []int64{4, 3, 2, 1}, Seq(4, 1, 1)) - assert.EqualValues(t, []int64{-2, -1, 0}, Seq(-2, 0, 1)) - assert.EqualValues(t, []int64{-1, 0, 1}, Seq(-1, 1, 1)) - assert.EqualValues(t, []int64{-1, 0, 1}, Seq(-1, 1, -1)) - assert.EqualValues(t, []int64{1, 0, -1}, Seq(1, -1, 1)) - assert.EqualValues(t, []int64{1, 0, -1}, Seq(1, -1, -1)) - assert.EqualValues(t, []int64{}, Seq(1, -1, 0)) - assert.EqualValues(t, []int64{1}, Seq(1, 10000, 10000)) - assert.EqualValues(t, []int64{1, 0, -1}, Seq(1, -1, -1)) + assert.Equal(t, []int64{1, 2, 3}, Seq(1, 3, 1)) + assert.Equal(t, []int64{1, 3}, Seq(1, 3, 2)) + assert.Equal(t, []int64{0, 2}, Seq(0, 3, 2)) + assert.Equal(t, []int64{0, 2, 4}, Seq(0, 4, 2)) + assert.Equal(t, []int64{0, -5, -10}, Seq(0, -10, -5)) + assert.Equal(t, []int64{4, 3, 2, 1}, Seq(4, 1, 1)) + assert.Equal(t, []int64{-2, -1, 0}, Seq(-2, 0, 1)) + assert.Equal(t, []int64{-1, 0, 1}, Seq(-1, 1, 1)) + assert.Equal(t, []int64{-1, 0, 1}, Seq(-1, 1, -1)) + assert.Equal(t, []int64{1, 0, -1}, Seq(1, -1, 1)) + assert.Equal(t, []int64{1, 0, -1}, Seq(1, -1, -1)) + assert.Equal(t, []int64{}, Seq(1, -1, 0)) + assert.Equal(t, []int64{1}, Seq(1, 10000, 10000)) + assert.Equal(t, []int64{1, 0, -1}, Seq(1, -1, -1)) } -- cgit v1.2.3