test: fi convert text to date cell test (#3377)

This commit is contained in:
Richard Shiue 2023-09-13 19:12:40 +08:00 committed by GitHub
parent 50a4f03931
commit 524efc2620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ mod tests {
#[test]
fn date_type_to_text_type() {
let field_type = FieldType::DateTime;
let field = FieldBuilder::from_field_type(field_type.clone()).build();
let field = FieldBuilder::new(field_type.clone(), DateTypeOption::test()).build();
assert_eq!(
stringify_cell_data(