Unit test for error

This commit is contained in:
Wojciech Kozlowski 2024-09-06 22:38:31 +02:00
parent 669d4c9da9
commit 405d16cbf9

View File

@ -57,4 +57,11 @@ mod tests {
let app = error.dismiss_error(); let app = error.dismiss_error();
app.unwrap_browse(); app.unwrap_browse();
} }
#[test]
fn no_op() {
let error = AppMachine::error(inner(music_hoard(vec![])), "get rekt");
let app = error.no_op();
app.unwrap_error();
}
} }