Skip to content

Commit

Permalink
test: 修正测试错误
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Sep 7, 2024
1 parent e43c691 commit 43150eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion message/extract/testdata/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/issue9/localeutil/testdata
require github.com/issue9/localeutil v1.0.0

// NOTE: 需要保证与根目录中 go.mod 的 text 具有相同的版本,否则测试会失败!
require golang.org/x/text v0.16.0 // indirect
require golang.org/x/text v0.18.0 // indirect

replace github.com/issue9/localeutil => ../../..

Expand Down
5 changes: 3 additions & 2 deletions message/extract/testdata/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github.com/issue9/assert/v4 v4.3.0 h1:W3XDKmttsfzihYGxJ9rJoL2ViJgWERB9IxfHcxjv65U=
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
github.com/issue9/assert/v4 v4.3.0/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=
golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224=
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=

0 comments on commit 43150eb

Please sign in to comment.