Skip to content

Commit 4c337a5

Browse files
committed
Fix go-org test
1 parent 7373a7e commit 4c337a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/markup/orgmode/orgmode_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ func TestRender_Images(t *testing.T) {
4545
}
4646

4747
url := "../../.images/src/02/train.jpg"
48-
title := "Train"
4948
result := util.URLJoin(AppSubURL, url)
5049

51-
test(
52-
"[[file:"+url+"]["+title+"]]",
53-
`<p><a href="`+result+`"><img src="`+result+`" alt="`+title+`" title="`+title+`" /></a></p>`)
50+
test("[[file:"+url+"]]",
51+
"<p>\n<img src=\""+result+"\" alt=\""+result+"\" title=\""+result+"\" />\n</p>")
5452
}

0 commit comments

Comments
 (0)