mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Fix a test
This commit is contained in:
parent
23974dc753
commit
5fdca82519
1 changed files with 3 additions and 4 deletions
|
@ -70,16 +70,15 @@ fn exhaustiveness_problem() {
|
|||
|
||||
This when does not cover all the possibilities:
|
||||
|
||||
7│> when t is
|
||||
8│> A -> "a"
|
||||
6│> when t is
|
||||
7│> A -> 1
|
||||
|
||||
Other possibilities include:
|
||||
|
||||
B
|
||||
C
|
||||
|
||||
I would have to crash if I saw one of those! Add branches for them!
|
||||
"#
|
||||
I would have to crash if I saw one of those! Add branches for them!"#
|
||||
);
|
||||
|
||||
error(&input, &mut state, EXPECTED_ERROR.to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue