formatting & clippy

This commit is contained in:
Brian Carroll 2023-09-09 16:03:54 +01:00
parent adc97a0099
commit 6a47a99114
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
2 changed files with 13 additions and 5 deletions

View file

@ -151,7 +151,7 @@ fn complete(input: &str, state: &mut ReplState, expected_start: &str, expected_e
);
}
_ => {
assert!(false, "Unexpected action: {:?}", action);
panic!("Unexpected action: {:?}", action);
}
}
}
@ -190,7 +190,7 @@ fn error(input: &str, state: &mut ReplState, expected_step_result: String) {
assert_eq!(expected_step_result, escaped);
}
_ => {
assert!(false, "Unexpected action: {:?}", action);
panic!("Unexpected action: {:?}", action);
}
}
}