mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-11-18 03:17:32 +00:00
chore: fix tests
This commit is contained in:
parent
e0db7bd4f9
commit
c97e1ccb95
@ -6,5 +6,8 @@ fn grid_default_serde_test() {
|
|||||||
let grid = GridRevision::new(&grid_id);
|
let grid = GridRevision::new(&grid_id);
|
||||||
|
|
||||||
let json = serde_json::to_string(&grid).unwrap();
|
let json = serde_json::to_string(&grid).unwrap();
|
||||||
assert_eq!(json, r#"{"grid_id":"1","fields":[],"blocks":[]}"#)
|
assert_eq!(
|
||||||
|
json,
|
||||||
|
r#"{"grid_id":"1","fields":[],"blocks":[],"setting":{"layout":0,"filters":[]}}"#
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user