Skip to content

Commit 2a25dec

Browse files
committed
fix #39, fix tests
1 parent 7854ba4 commit 2a25dec

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/test/suite/fixtures/expected/issues.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,4 +274,4 @@ <h3>third header</h3>
274274
<p>
275275
<a href='https://github.com/denco/vscode-confluence-markup/issues/39'>#39</a>Local image preview</p>
276276
<p>
277-
<img src="vscode-resource:_TEST_EXTENSION_PATH_PLACEHOLDER_/src/test/suite/fixtures/testfiles/media/testing_cat.gif"/></p>
277+
<img src="vscode-resource:_TEST_EXTENSION_PATH_PLACEHOLDER_/src/test/suite/fixtures/testfiles/media/testing_cat.gif" width="500"/></p>

src/test/suite/fixtures/expected/scoped/images.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>cats</h1>
88
</li>
99
</p>
1010
<p>
11-
<img src="https://media.giphy.com/media/JIX9t2j0ZTN9S/giphy.gif"/>
11+
<img src="https://media.giphy.com/media/JIX9t2j0ZTN9S/giphy.gif" title="coding_cat"/>
1212
</p>
1313
<p></ul>
1414
</p>
@@ -19,7 +19,7 @@ <h1>cats</h1>
1919
</li>
2020
</p>
2121
<p>
22-
<img src="https://media.giphy.com/media/mlvseq9yvZhba/giphy.gif"/>
22+
<img src="https://media.giphy.com/media/mlvseq9yvZhba/giphy.gif" />
2323
</p>
2424
<p></ul>
2525
</p>
@@ -30,7 +30,7 @@ <h1>cats</h1>
3030
</li>
3131
</p>
3232
<p>
33-
<img src="vscode-resource:_TEST_EXTENSION_PATH_PLACEHOLDER_/src/test/suite/fixtures/testfiles/media/testing_cat.gif"/>
33+
<img src="vscode-resource:_TEST_EXTENSION_PATH_PLACEHOLDER_/src/test/suite/fixtures/testfiles/media/testing_cat.gif" width="500" height="500"/>
3434
</p>
3535
<p></ul>
3636
</p>

src/test/suite/fixtures/testfiles/nix/issues.confluence

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ move out of preview, and bump to version: 1.0.0
124124

125125
[#39|https://github.com/denco/vscode-confluence-markup/issues/39] Local image preview
126126

127-
!../media/testing_cat.gif!
127+
!../media/testing_cat.gif|width=500!

src/test/suite/fixtures/testfiles/nix/scoped/images.confluence

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ h1. cats
77
-- !https://media.giphy.com/media/mlvseq9yvZhba/giphy.gif!
88

99
- *testing cat*
10-
-- !../../media/testing_cat.gif!
10+
-- !../../media/testing_cat.gif|width=500,height=500!

src/test/suite/fixtures/testfiles/win/issues.confluence

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ move out of preview, and bump to version: 1.0.0
124124

125125
[#39|https://github.com/denco/vscode-confluence-markup/issues/39] Local image preview
126126

127-
!../media/testing_cat.gif!
127+
!../media/testing_cat.gif|width=500!

0 commit comments

Comments
 (0)