refactor: Updated all handler tests to use purpose built assertions to improve readability and maintainability
This commit is contained in:
@@ -33,7 +33,7 @@ mod tests {
|
||||
|
||||
handle_clear_errors(&mut app);
|
||||
|
||||
assert!(app.error.text.is_empty());
|
||||
assert_is_empty!(app.error.text);
|
||||
}
|
||||
|
||||
#[rstest]
|
||||
|
||||
Reference in New Issue
Block a user