mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
ignore test debug exceptions in all contexts
This commit is contained in:
parent
119663b3e7
commit
4249cd4784
3 changed files with 17 additions and 4 deletions
|
@ -624,12 +624,15 @@ fn list_of_3_field_records() {
|
|||
);
|
||||
}
|
||||
|
||||
// not(debug_assertions) because of issue #6946
|
||||
#[cfg(not(debug_assertions))]
|
||||
#[test]
|
||||
fn identity_lambda() {
|
||||
expect_success("\\x -> x", "<function> : a -> a");
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "wasm"))]
|
||||
// not(debug_assertions) because of issue #6946
|
||||
#[cfg(all(not(feature = "wasm"), not(debug_assertions)))]
|
||||
#[test]
|
||||
fn sum_lambda() {
|
||||
expect_success("\\x, y -> x + y", "<function> : Num a, Num a -> Num a");
|
||||
|
@ -1049,7 +1052,8 @@ fn large_nullable_wrapped_tag_union() {
|
|||
)
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "wasm"))]
|
||||
// not(debug_assertions) because of issue #6946
|
||||
#[cfg(all(not(feature = "wasm"), not(debug_assertions)))]
|
||||
#[test]
|
||||
fn issue_2300() {
|
||||
expect_success(
|
||||
|
@ -1330,7 +1334,8 @@ fn box_box_type_alias() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(not(feature = "wasm"))]
|
||||
// not(debug_assertions) because of issue #6946
|
||||
#[cfg(all(not(feature = "wasm"), not(debug_assertions)))]
|
||||
fn issue_2582_specialize_result_value() {
|
||||
expect_success(
|
||||
r#"\x, list -> if x > 0 then List.first list else Ok """#,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue