Made link a single word
This commit is contained in:
@@ -20,7 +20,7 @@ func TestSearch(t *testing.T) {
|
||||
{
|
||||
"title": "First article",
|
||||
"created": now.Unix(),
|
||||
"link": "/article/first-article",
|
||||
"link": "first-article",
|
||||
"markdown": "This is my first article",
|
||||
"html": "<p>This is my first article</p>",
|
||||
},
|
||||
@@ -30,7 +30,7 @@ func TestSearch(t *testing.T) {
|
||||
"image": "https://upload.wikimedia.org/wikipedia/commons/0/05/Go_Logo_Blue.svg",
|
||||
"created": now.Unix(),
|
||||
"modified": now.Add(24 * time.Hour).Unix(),
|
||||
"link": "/article/test",
|
||||
"link": "test",
|
||||
"markdown": "# Title",
|
||||
"html": "<h1>Title</h1>",
|
||||
},
|
||||
@@ -38,7 +38,7 @@ func TestSearch(t *testing.T) {
|
||||
"title": "owo",
|
||||
"created": now.Unix(),
|
||||
"modified": now.Add(12 * time.Hour).Unix(),
|
||||
"link": "/article/owo",
|
||||
"link": "owo",
|
||||
"markdown": "owo",
|
||||
"html": "<p>owo<p>",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user