Skip to content

Commit

Permalink
update unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Monirzadeh committed Feb 10, 2024
1 parent f28a405 commit 147fe7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1020,10 +1020,10 @@ func TestEmbedImage(t *testing.T) {
<p><img src="` + server.URL + `/gophercolor16x16.png?width=300" loading="lazy"/></p>`
testSectionBodyWithImageExpect := ` <h1>Section 1</h1>
<p>This is a paragraph.</p>
<p><img src="../images/image0003.png" loading="lazy"/></p>`
<p><img src="../images/image0001.png" loading="lazy"/></p>`
testSectionBodyWithImageUnvalidnameExpect := ` <h1>Section 1</h1>
<p>This is a paragraph.</p>
<p><img src="../images/image0004.png" loading="lazy"/></p>`
<p><img src="../images/image0003.png" loading="lazy"/></p>`
e, err := NewEpub(testEpubTitle)
if err != nil {
t.Error(err)
Expand Down

0 comments on commit 147fe7f

Please sign in to comment.