mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
We got a test working for panicking with the appropriate number fo failures. Ultimatly we want:
+ An error maessage that says what the failures were + Not panicking (so these are effectively error productions)
This commit is contained in:
parent
085c02ffee
commit
4f8d0776b3
8 changed files with 103 additions and 24 deletions
|
@ -2513,6 +2513,7 @@ fn call_invalid_layout() {
|
|||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm"))]
|
||||
#[should_panic(expected = "Failed with 1 failures. Failures: ")]
|
||||
fn expect_fail() {
|
||||
assert_expect_failed!(
|
||||
indoc!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue