diff --git a/modules/markup/html_internal_test.go b/modules/markup/html_internal_test.go
index 04694df5e5..2b5c56a43c 100644
--- a/modules/markup/html_internal_test.go
+++ b/modules/markup/html_internal_test.go
@@ -382,7 +382,6 @@ func TestRegExp_anySHA1Pattern(t *testing.T) {
"https://github.com/jquery/jquery/commit/0705be4": {
CommitID: "0705be4",
},
- // short hex strings in non-commit URLs should not match
"http://localhost:3000/foo/bar/src/main/20260304.txt": {},
"http://localhost:3000/foo/bar/blob/main/abcdef1/file": {},
"non-url": {},