File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
77 github.com/stretchr/testify v1.10.0
88 github.com/tiendc/go-deepcopy v1.6.0
99 github.com/xuri/efp v0.0.1
10- github.com/xuri/nfp v0.0.1
10+ github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9
1111 golang.org/x/crypto v0.38.0
1212 golang.org/x/image v0.25.0
1313 golang.org/x/net v0.40.0
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ github.com/tiendc/go-deepcopy v1.6.0 h1:0UtfV/imoCwlLxVsyfUd4hNHnB3drXsfle+wzSCA
1313github.com/tiendc/go-deepcopy v1.6.0 /go.mod h1:toXoeQoUqXOOS/X4sKuiAoSk6elIdqc0pN7MTgOOo2I =
1414github.com/xuri/efp v0.0.1 h1:fws5Rv3myXyYni8uwj2qKjVaRP30PdjeYe2Y6FDsCL8 =
1515github.com/xuri/efp v0.0.1 /go.mod h1:ybY/Jr0T0GTCnYjKqmdwxyxn2BQf2RcQIIvex5QldPI =
16- github.com/xuri/nfp v0.0.1 h1:MDamSGatIvp8uOmDP8FnmjuQpu90NzdJxo7242ANR9Q =
17- github.com/xuri/nfp v0.0.1 /go.mod h1:WwHg+CVyzlv/TX9xqBFXEZAuxOPxn2k1GNHwG41IIUQ =
16+ github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9 h1:+C0TIdyyYmzadGaL/HBLbf3WdLgC29pgyhTjAT/0nuE =
17+ github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9 /go.mod h1:WwHg+CVyzlv/TX9xqBFXEZAuxOPxn2k1GNHwG41IIUQ =
1818golang.org/x/crypto v0.38.0 h1:jt+WWG8IZlBnVbomuhg2Mdq0+BBQaHbtqHEFEigjUV8 =
1919golang.org/x/crypto v0.38.0 /go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw =
2020golang.org/x/image v0.25.0 h1:Y6uW6rH1y5y/LK1J8BPWZtr6yZ7hrsy6hFrXjgsc2fQ =
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ func TestNumFmt(t *testing.T) {
1111 for _ , item := range [][]string {
1212 {"123" , "general" , "123" },
1313 {"-123" , ";general" , "-123" },
14+ {"123.456" , "0.00\" \" " , "123.46" },
15+ {"123.456" , "\" \" ;\" \" " , "" },
16+ {"123.456" , "\" \" 0.00foo" , "123.46foo" },
17+ {"123.456" , "\" \" 0.00\" foo\" " , "123.46foo" },
1418 {"12345678901" , "General" , "12345678901" },
1519 {"43543.5448726851" , "General" , "43543.54487" },
1620 {"-43543.5448726851" , "General" , "-43543.54487" },
You can’t perform that action at this time.
0 commit comments