mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
enable more tests
This commit is contained in:
parent
8833096a07
commit
dfed7b95e6
1 changed files with 9 additions and 9 deletions
|
@ -597,7 +597,7 @@ fn top_level_destructure() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_len_0() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -625,7 +625,7 @@ fn linked_list_len_0() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_len_twice_0() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -653,7 +653,7 @@ fn linked_list_len_twice_0() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_len_1() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -681,7 +681,7 @@ fn linked_list_len_1() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_len_twice_1() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -709,7 +709,7 @@ fn linked_list_len_twice_1() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_len_3() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -738,7 +738,7 @@ fn linked_list_len_3() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_sum_num_a() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -767,7 +767,7 @@ fn linked_list_sum_num_a() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_sum_int() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -1712,7 +1712,7 @@ fn nested_pattern_match_two_ways() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_guarded_double_pattern_match() {
|
||||
// the important part here is that the first case (with the nested Cons) does not match
|
||||
// TODO this also has undefined behavior
|
||||
|
@ -1744,7 +1744,7 @@ fn linked_list_guarded_double_pattern_match() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn linked_list_double_pattern_match() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue