mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
test: use indelta
This commit is contained in:
parent
33df52d531
commit
18b7f05728
@ -23,7 +23,7 @@ func TestInline(t *testing.T) {
|
||||
t.Run("read inline float", func(t *testing.T) {
|
||||
value, ok := keeltest.InlineFloat64(t, 1) // INLINE: 1.5
|
||||
assert.True(t, ok)
|
||||
assert.Equal(t, 1.5, value)
|
||||
assert.InDelta(t, 1.5, value, 0)
|
||||
})
|
||||
|
||||
t.Run("read inline json", func(t *testing.T) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user