mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: fix rust unit test
This commit is contained in:
parent
d6a1afe326
commit
27628cc78e
@ -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();
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user