Skip to content

Commit b5c0383

Browse files
jmooringbep
authored andcommitted
deps: Upgrade github.com/spf13/cast v1.8.0 => v1.9.2
1 parent 4217fee commit b5c0383

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ require (
6262
github.com/rogpeppe/go-internal v1.14.1
6363
github.com/sanity-io/litter v1.5.8
6464
github.com/spf13/afero v1.14.0
65-
github.com/spf13/cast v1.8.0
65+
github.com/spf13/cast v1.9.2
6666
github.com/spf13/cobra v1.9.1
6767
github.com/spf13/fsync v0.10.1
6868
github.com/spf13/pflag v1.0.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ github.com/shogo82148/go-shuffle v0.0.0-20180218125048-27e6095f230d/go.mod h1:2h
434434
github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y=
435435
github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA=
436436
github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo=
437-
github.com/spf13/cast v1.8.0 h1:gEN9K4b8Xws4EX0+a0reLmhq8moKn7ntRlQYgjPeCDk=
438-
github.com/spf13/cast v1.8.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
437+
github.com/spf13/cast v1.9.2 h1:SsGfm7M8QOFtEzumm7UZrZdLLquNdzFYfIbEXntcFbE=
438+
github.com/spf13/cast v1.9.2/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
439439
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
440440
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
441441
github.com/spf13/fsync v0.10.1 h1:JRnB7G72b+gIBaBcpn5ibJSd7ww1iEahXSX2B8G6dSE=

hugolib/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ home = ["html"]
14061406
"home": {"html"},
14071407
"page": {"html"},
14081408
"rss": {"rss"},
1409-
"section": nil,
1409+
"section": {},
14101410
"taxonomy": {"html", "rss"},
14111411
"term": {"html", "rss"},
14121412
})

tpl/math/math_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func TestMod(t *testing.T) {
258258
{int32(3), int32(2), int64(1)},
259259
{int64(3), int64(2), int64(1)},
260260
{"3", "2", int64(1)},
261-
{"3.1", "2", false},
261+
{"3.1", "2", int64(1)},
262262
{"aaa", "0", false},
263263
{"3", "aaa", false},
264264
} {
@@ -304,7 +304,7 @@ func TestModBool(t *testing.T) {
304304
{int64(3), int64(2), false},
305305
{"3", "3", true},
306306
{"3", "2", false},
307-
{"3.1", "2", nil},
307+
{"3.1", "2", false},
308308
{"aaa", "0", nil},
309309
{"3", "aaa", nil},
310310
} {

0 commit comments

Comments
 (0)