Skip to content

Commit

Permalink
reformat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skius committed Aug 8, 2023
1 parent f6a10f5 commit abb91cc
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions experimental/transliterator_parser/src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1170,10 +1170,9 @@ mod tests {
(Fail, Ok(_)) => {
panic!("unexpected successful pass1 validation for rules {source:?}")
}
(Pass, Err(e)) => panic!(
"unexpected error in pass1 validation for rules {source:?}: {:?}",
e
),
(Pass, Err(e)) => {
panic!("unexpected error in pass1 validation for rules {source:?}: {e:?}")
}
_ => {}
}
}
Expand Down Expand Up @@ -1203,10 +1202,9 @@ mod tests {
(Fail, Ok(_)) => {
panic!("unexpected successful pass1 validation for rules {source:?}")
}
(Pass, Err(e)) => panic!(
"unexpected error in pass1 validation for rules {source:?}: {:?}",
e
),
(Pass, Err(e)) => {
panic!("unexpected error in pass1 validation for rules {source:?}: {e:?}")
}
_ => {}
}
}
Expand Down Expand Up @@ -1236,10 +1234,9 @@ mod tests {
(Fail, Ok(_)) => {
panic!("unexpected successful pass1 validation for rules {source:?}")
}
(Pass, Err(e)) => panic!(
"unexpected error in pass1 validation for rules {source:?}: {:?}",
e
),
(Pass, Err(e)) => {
panic!("unexpected error in pass1 validation for rules {source:?}: {e:?}")
}
_ => {}
}
}
Expand Down

0 comments on commit abb91cc

Please sign in to comment.