commento.js: show error when comment link is 404

Signed-off-by: Adhityaa Chandrasekar <adtac@adtac.in>
This commit is contained in:
Adhityaa Chandrasekar
2021-02-28 12:44:10 +05:30
parent aaa44a0bee
commit 18612933f6
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ import (
func TestCommentDeleteBasics(t *testing.T) {
failTestOnError(t, setupTestEnv())
commenterHex = "temp-commenter-hex"
commenterHex := "temp-commenter-hex"
commentHex, _ := commentNew(commenterHex, "example.com", "/path.html", "root", "**foo**", "approved", time.Now().UTC())
commentNew(commenterHex, "example.com", "/path.html", commentHex, "**bar**", "approved", time.Now().UTC())