From 6deb817fd030b2f7f37a3300a5f656a99b690855 Mon Sep 17 00:00:00 2001 From: John Guo Date: Tue, 23 Mar 2021 17:58:09 +0800 Subject: [PATCH] fix issue in unit testing case for package gpage --- util/gpage/gpage_unit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gpage/gpage_unit_test.go b/util/gpage/gpage_unit_test.go index 8061f80ae..d2a12b1f6 100644 --- a/util/gpage/gpage_unit_test.go +++ b/util/gpage/gpage_unit_test.go @@ -109,7 +109,7 @@ func Test_PredefinedContent(t *testing.T) { page.AjaxActionName = "LoadPage" t.Assert(page.GetContent(1), `上一页 2 下一页`) t.Assert(page.GetContent(2), `首页<<上一页[第2页]下一页>>尾页页`) - t.Assert(page.GetContent(3), `首页上一页12345下一页尾页`span`当前页2/5 `span`共5条`) + t.Assert(page.GetContent(3), `首页上一页12345下一页尾页当前页2/5 共5条`) t.Assert(page.GetContent(4), `首页上一页12345下一页尾页`) t.Assert(page.GetContent(5), ``) })