chore: fix rust unit test

This commit is contained in:
appflowy 2022-03-18 22:13:12 +08:00
parent d6a1afe326
commit 27628cc78e
2 changed files with 2 additions and 0 deletions

View File

@ -232,6 +232,7 @@ mod tests {
}
#[test]
#[should_panic]
fn date_description_invalid_data_test() {
let description = DateDescription::default();
description.serialize_cell_data("he").unwrap();

View File

@ -116,6 +116,7 @@ mod tests {
use crate::services::row::CellDataSerde;
#[test]
#[should_panic]
fn selection_description_test() {
let description = SingleSelectDescription::default();
assert_eq!(description.serialize_cell_data("1,2,3").unwrap(), "1".to_owned());