Update repl expect test to work around Dec copy bug

This commit is contained in:
Ayaz Hafiz 2022-12-01 13:26:08 -06:00
parent 3d34e158e3
commit f49b0cd207
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -442,8 +442,8 @@ mod test {
main = 0
expect
vec1 = { x: 1.0, y: 2.0 }
vec2 = { x: 4.0, y: 8.0 }
vec1 = { x: 1.0f64, y: 2.0f64 }
vec2 = { x: 4.0f64, y: 8.0f64 }
vec1 == vec2
"#
@ -453,17 +453,17 @@ mod test {
This expectation failed:
5> expect
6> vec1 = { x: 1.0, y: 2.0 }
7> vec2 = { x: 4.0, y: 8.0 }
6> vec1 = { x: 1.0f64, y: 2.0f64 }
7> vec2 = { x: 4.0f64, y: 8.0f64 }
8>
9> vec1 == vec2
When it failed, these variables had these values:
vec1 : { x : Frac *, y : Frac * }
vec1 : { x : F64, y : F64 }
vec1 = { x: 1, y: 2 }
vec2 : { x : Frac *, y : Frac * }
vec2 : { x : F64, y : F64 }
vec2 = { x: 4, y: 8 }
"#
),