Fix a test

This commit is contained in:
Richard Feldman 2022-10-30 14:44:58 -04:00
parent 23974dc753
commit 5fdca82519
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -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());