You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by ku...@apache.org on 2024/03/05 03:28:52 UTC
(incubator-answer) 03/03: update
This is an automated email from the ASF dual-hosted git repository.
kumfo pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit 16cafbaf95bbc7d2a919fdc92c4771b7833186d7
Author: hgaol <dh...@hotmail.com>
AuthorDate: Tue Mar 5 00:36:53 2024 +0800
update
---
internal/schema/search_schema_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/schema/search_schema_test.go b/internal/schema/search_schema_test.go
index 1549f0e1..50ffdf14 100644
--- a/internal/schema/search_schema_test.go
+++ b/internal/schema/search_schema_test.go
@@ -12,7 +12,7 @@ func TestReplaceSearchContent(t *testing.T) {
replacedContent, patterns := ReplaceSearchContent(content)
ret := strings.Join(append(patterns, replacedContent), " ")
- assert.Equal(t, "user:aaa [tag]ssssfdfdf as fsadf", ret)
+ assert.Equal(t, "user:aaa [tag] ssssfdfdf as fsadf", ret)
content = "user:aaa-sss [tag1] ssssfdfdf-as#fsadf [tag2] score:3"
replacedContent, patterns = ReplaceSearchContent(content)