mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: fix warnings
This commit is contained in:
@ -190,11 +190,10 @@ impl std::default::Default for TimeFormat {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::services::field::DateTypeOption;
|
||||
use crate::services::field::FieldBuilder;
|
||||
use crate::services::field::{DateFormat, DateTypeOption, TimeFormat};
|
||||
use crate::services::row::{CellDataOperation, TypeOptionCellData};
|
||||
use crate::services::row::CellDataOperation;
|
||||
use flowy_grid_data_model::entities::FieldType;
|
||||
use strum::IntoEnumIterator;
|
||||
|
||||
#[test]
|
||||
fn date_description_invalid_input_test() {
|
||||
@ -287,7 +286,7 @@ mod tests {
|
||||
type_option.apply_changeset("he", None).unwrap();
|
||||
}
|
||||
|
||||
fn data(s: &str) -> String {
|
||||
TypeOptionCellData::new(s, FieldType::DateTime).json()
|
||||
}
|
||||
// fn data(s: &str) -> String {
|
||||
// TypeOptionCellData::new(s, FieldType::DateTime).json()
|
||||
// }
|
||||
}
|
||||
|
@ -65,10 +65,6 @@ impl CellDataOperation for RichTextTypeOption {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::services::field::FieldBuilder;
|
||||
use crate::services::field::*;
|
||||
use crate::services::row::{CellDataOperation, TypeOptionCellData};
|
||||
use flowy_grid_data_model::entities::FieldType;
|
||||
|
||||
// #[test]
|
||||
// fn text_description_test() {
|
||||
|
Reference in New Issue
Block a user