docs: use pretty assertion

This commit is contained in:
Dheepak Krishnamurthy 2024-05-13 20:00:56 -04:00
parent feee871519
commit cd27b4829a
No known key found for this signature in database
GPG key ID: 602B439E509219ED

View file

@ -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);