mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
tests(wasm): assert_concat_work needs a feature flag too
This commit is contained in:
parent
a18c3e2c3a
commit
14e66de0b7
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,3 @@
|
||||||
#![cfg(feature = "gen-llvm")]
|
|
||||||
#![cfg(feature = "gen-wasm")]
|
|
||||||
|
|
||||||
#[cfg(feature = "gen-llvm")]
|
#[cfg(feature = "gen-llvm")]
|
||||||
use crate::helpers::llvm::assert_evals_to;
|
use crate::helpers::llvm::assert_evals_to;
|
||||||
|
|
||||||
|
@ -1320,6 +1317,7 @@ fn list_concat_two_bigger_non_empty_lists() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
#[cfg(any(feature = "gen-llvm"))]
|
||||||
fn assert_concat_worked(num_elems1: i64, num_elems2: i64) {
|
fn assert_concat_worked(num_elems1: i64, num_elems2: i64) {
|
||||||
let vec1: Vec<i64> = (0..num_elems1)
|
let vec1: Vec<i64> = (0..num_elems1)
|
||||||
.map(|i| 12345 % (i + num_elems1 + num_elems2 + 1))
|
.map(|i| 12345 % (i + num_elems1 + num_elems2 + 1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue