mirror of
https://github.com/ratatui-org/ratatui
synced 2025-02-16 14:08:44 +00:00
docs: use pretty assertion
This commit is contained in:
parent
feee871519
commit
cd27b4829a
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ const SELECTED_STATE_REPR: &str = r#"{
|
|||
|
||||
#[test]
|
||||
fn selected_state_serialize() {
|
||||
use pretty_assertions::assert_eq;
|
||||
let mut state = AppState::default();
|
||||
state.select(1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue