chore: fix tests

This commit is contained in:
appflowy 2022-07-20 18:47:05 +08:00
parent e0db7bd4f9
commit c97e1ccb95

View File

@ -6,5 +6,8 @@ fn grid_default_serde_test() {
let grid = GridRevision::new(&grid_id);
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":[]}}"#
)
}