Unit test for error
This commit is contained in:
parent
669d4c9da9
commit
405d16cbf9
@ -57,4 +57,11 @@ mod tests {
|
||||
let app = error.dismiss_error();
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user