mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Use usize instead of pointer type for wasm tests
This commit is contained in:
parent
24a38c4a26
commit
ca8f83b896
2 changed files with 3 additions and 7 deletions
|
@ -1368,7 +1368,6 @@ fn linked_list_is_empty_2() {
|
||||||
fn linked_list_singleton() {
|
fn linked_list_singleton() {
|
||||||
// verifies only that valid llvm is produced
|
// verifies only that valid llvm is produced
|
||||||
|
|
||||||
use std::os::raw::c_void;
|
|
||||||
assert_evals_to!(
|
assert_evals_to!(
|
||||||
indoc!(
|
indoc!(
|
||||||
r#"
|
r#"
|
||||||
|
@ -1381,7 +1380,7 @@ fn linked_list_singleton() {
|
||||||
"#
|
"#
|
||||||
),
|
),
|
||||||
0,
|
0,
|
||||||
*const c_void,
|
usize,
|
||||||
|_| 0
|
|_| 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,9 +13,6 @@ use crate::helpers::wasm::assert_evals_to;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
use indoc::indoc;
|
use indoc::indoc;
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
use std::os::raw::c_void;
|
|
||||||
|
|
||||||
use roc_mono::layout::{LayoutRepr, STLayoutInterner};
|
use roc_mono::layout::{LayoutRepr, STLayoutInterner};
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
use roc_std::{RocList, RocStr, U128};
|
use roc_std::{RocList, RocStr, U128};
|
||||||
|
@ -1022,7 +1019,7 @@ fn nested_recursive_literal() {
|
||||||
#"
|
#"
|
||||||
),
|
),
|
||||||
0,
|
0,
|
||||||
*const c_void,
|
usize,
|
||||||
|_| 0
|
|_| 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -1164,7 +1161,7 @@ fn recursive_tag_union_into_flat_tag_union() {
|
||||||
"#
|
"#
|
||||||
),
|
),
|
||||||
0,
|
0,
|
||||||
*const c_void,
|
usize,
|
||||||
|_| 0
|
|_| 0
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue