fix(exhaustiveness): adjust helper method to get contructors properly

This commit is contained in:
rvcas
2023-08-03 16:14:42 -04:00
parent 675b737898
commit 60ac8ab591
3 changed files with 53 additions and 40 deletions

View File

@@ -523,7 +523,6 @@ fn exhaustiveness_tuple() {
fn exhaustiveness_nested_list_and_tuples() {
fn assert_step(step: &str, expected: &str) {
let result = check(parse(step));
println!("{result:#?}");
assert!(matches!(
result,
Err((