From c663a0d9c5df17fb83cb22c7c044117769580e72 Mon Sep 17 00:00:00 2001 From: iamyl <57165465@qq.com> Date: Fri, 5 Nov 2021 10:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9gstr=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改gstr测试用例的错误 --- text/gstr/gstr_z_example_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/text/gstr/gstr_z_example_test.go b/text/gstr/gstr_z_example_test.go index 0bbfc8415..c083d0528 100644 --- a/text/gstr/gstr_z_example_test.go +++ b/text/gstr/gstr_z_example_test.go @@ -1076,7 +1076,7 @@ func ExampleReplaceI() { fmt.Println(rsStr) // Output: - // + // golang_is Very Nice.to-use } func ExampleReplaceIByArray() { @@ -1164,8 +1164,8 @@ func ExampleShuffle() { rsStr := gstr.Shuffle(str) fmt.Println(rsStr) - // Output: - // frg.omeie sa_cNi + // May Output: + // e giNomescraf._i } func ExampleSimilarText() { @@ -1329,7 +1329,7 @@ func ExampleStripSlashes() { fmt.Println(rsStr) // Output: - // + // goframe "is" Very Nice to use } func ExampleSubStr() {