Skip to content

Commit 038b8ed

Browse files
author
snopan
committed
Added another test case
1 parent b1115c2 commit 038b8ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

assert/assertions_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ func TestObjectsAreEqualValues(t *testing.T) {
165165
{float64(10.1), float32(10.1), true},
166166
{float32(10.123456), float64(10.12345600), true},
167167
{float32(10.123456), float64(10.12345678), false},
168+
{float32(1.0 / 3.0), float64(1.0 / 3.0), false},
168169
}
169170

170171
for _, c := range cases {

0 commit comments

Comments
 (0)