mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
test_gen: allow non-llvm tests to expect errors
This commit is contained in:
parent
4b585cc6c6
commit
abfa4b1522
2 changed files with 23 additions and 13 deletions
|
@ -3,8 +3,6 @@ use crate::helpers::llvm::assert_evals_to;
|
|||
#[cfg(feature = "gen-llvm")]
|
||||
use crate::helpers::llvm::assert_expect_failed;
|
||||
#[cfg(feature = "gen-llvm")]
|
||||
use crate::helpers::llvm::assert_llvm_evals_to;
|
||||
#[cfg(feature = "gen-llvm")]
|
||||
use crate::helpers::llvm::assert_non_opt_evals_to;
|
||||
|
||||
#[cfg(feature = "gen-dev")]
|
||||
|
@ -2473,7 +2471,7 @@ fn function_malformed_pattern() {
|
|||
#[cfg(any(feature = "gen-llvm"))]
|
||||
#[should_panic(expected = "Hit an erroneous type when creating a layout for")]
|
||||
fn call_invalid_layout() {
|
||||
assert_llvm_evals_to!(
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
f : I64 -> I64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue