diff --git a/frontend/rust-lib/flowy-grid/src/services/field/type_options/number_type_option.rs b/frontend/rust-lib/flowy-grid/src/services/field/type_options/number_type_option.rs index e9a0ca721853d..03b4b194b0dbb 100644 --- a/frontend/rust-lib/flowy-grid/src/services/field/type_options/number_type_option.rs +++ b/frontend/rust-lib/flowy-grid/src/services/field/type_options/number_type_option.rs @@ -644,6 +644,12 @@ mod tests { "¥18,443".to_owned() ); } + NumberFormat::Yuan => { + assert_eq!( + type_option.decode_cell_data(data("18443"), &field_meta), + "CN¥18,443".to_owned() + ); + } NumberFormat::EUR => { assert_eq!( type_option.decode_cell_data(data("18443"), &field_meta),