mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Fix unit test with lambda
This commit is contained in:
parent
03e9344a83
commit
c74cc19220
1 changed files with 6 additions and 4 deletions
|
@ -3907,8 +3907,9 @@ fn f64_from_parts() {
|
|||
fn nan_f32() {
|
||||
assert_evals_to!(
|
||||
r"Num.nanF32",
|
||||
f32::NAN,
|
||||
f32
|
||||
true,
|
||||
f32,
|
||||
|f: f32| f.is_nan()
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -3917,8 +3918,9 @@ fn nan_f32() {
|
|||
fn nan_f64() {
|
||||
assert_evals_to!(
|
||||
r"Num.nanF64",
|
||||
f64::NAN,
|
||||
f64
|
||||
true,
|
||||
f64,
|
||||
|f: f64| f.is_nan()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue