From 30413435d89aa19efe66040c5f0601600590ec67 Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Mon, 15 Sep 2025 23:54:56 +0200 Subject: [PATCH] fix: failing backend tests (#9310) The tests introduced by #9181 are updated to match the new behaviour of #9182. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9310 Reviewed-by: Mathieu Fenniak Reviewed-by: Gusted Co-authored-by: Robert Wolff Co-committed-by: Robert Wolff --- modules/markup/html_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/markup/html_test.go b/modules/markup/html_test.go index cd235331bc..fa3855ed34 100644 --- a/modules/markup/html_test.go +++ b/modules/markup/html_test.go @@ -1202,7 +1202,7 @@ func TestRender_FilePreview(t *testing.T) { `` + `` + `` - linkRendered := `eeb243c339/path/to/file%20%23.txt (L1)` + linkRendered := `eeb243c339/path/to/file #.txt (L1)` t.Run("file with strange characters in name", func(t *testing.T) { testRender(