Skip to content

Commit

Permalink
feat: uint8 test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinconic committed Jul 30, 2024
1 parent 8a59222 commit dace0fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions viper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2039,6 +2039,7 @@ func TestMergeConfig(t *testing.T) {
assert.Equal(t, 37890, v.GetInt("hello.pop"))
assert.Equal(t, int32(37890), v.GetInt32("hello.pop"))
assert.Equal(t, int64(765432101234567), v.GetInt64("hello.largenum"))
assert.Equal(t, uint8(2), v.GetUint8("hello.pop"))
assert.Equal(t, uint(37890), v.GetUint("hello.pop"))
assert.Equal(t, uint16(37890), v.GetUint16("hello.pop"))
assert.Equal(t, uint32(37890), v.GetUint32("hello.pop"))
Expand Down

0 comments on commit dace0fe

Please sign in to comment.