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 (
7
7
github.com/stretchr/testify v1.10.0
8
8
github.com/tiendc/go-deepcopy v1.6.0
9
9
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
11
11
golang.org/x/crypto v0.38.0
12
12
golang.org/x/image v0.25.0
13
13
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
13
13
github.com/tiendc/go-deepcopy v1.6.0 /go.mod h1:toXoeQoUqXOOS/X4sKuiAoSk6elIdqc0pN7MTgOOo2I =
14
14
github.com/xuri/efp v0.0.1 h1:fws5Rv3myXyYni8uwj2qKjVaRP30PdjeYe2Y6FDsCL8 =
15
15
github.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 =
18
18
golang.org/x/crypto v0.38.0 h1:jt+WWG8IZlBnVbomuhg2Mdq0+BBQaHbtqHEFEigjUV8 =
19
19
golang.org/x/crypto v0.38.0 /go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw =
20
20
golang.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) {
11
11
for _ , item := range [][]string {
12
12
{"123" , "general" , "123" },
13
13
{"-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" },
14
18
{"12345678901" , "General" , "12345678901" },
15
19
{"43543.5448726851" , "General" , "43543.54487" },
16
20
{"-43543.5448726851" , "General" , "-43543.54487" },
You can’t perform that action at this time.
0 commit comments