Skip to content

Commit 849104f

Browse files
committed
Update Snapshots test
1 parent 3a4bc33 commit 849104f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

tests/lib/snapshots/markdown-test.js.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Generated by [AVA](https://ava.li).
3737

3838
> Snapshot 1
3939
40-
`<h2 data-line="1" id="abbr">abbr</h2>␊
40+
`<h2 id="abbr" data-line="1">abbr</h2>␊
4141
<p data-line="3">The <abbr title="Hyper Text Markup Language">HTML</abbr> specification<br />␊
4242
is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>␊
4343
`
@@ -67,8 +67,8 @@ Generated by [AVA](https://ava.li).
6767

6868
> Snapshot 1
6969
70-
`<h2 data-line="1" id="definition-list">definition list</h2>␊
71-
<h3 data-line="3" id="list-1">list 1</h3>␊
70+
`<h2 id="definition-list" data-line="1">definition list</h2>␊
71+
<h3 id="list-1" data-line="3">list 1</h3>␊
7272
<dl>␊
7373
<dt data-line="5">Term 1</dt>␊
7474
<dd data-line="6">Definition 1</dd>␊
@@ -78,7 +78,7 @@ Generated by [AVA](https://ava.li).
7878
</dl>␊
7979
<p data-line="12">Term 3<br />␊
8080
~</p>␊
81-
<h3 data-line="16" id="list-2">list 2</h3>␊
81+
<h3 id="list-2" data-line="16">list 2</h3>␊
8282
<dl>␊
8383
<dt data-line="18">Term 1</dt>␊
8484
<dd data-line="20">␊
@@ -98,10 +98,10 @@ Generated by [AVA](https://ava.li).
9898

9999
> Snapshot 1
100100
101-
`<h1 data-line="1" id="Welcome-to-Boostnote">Welcome to Boostnote!</h1>␊
102-
<h2 data-line="2" id="Click-here-to-edit-markdown-%F0%9F%91%8B">Click here to edit markdown 👋</h2>␊
101+
`<h1 id="Welcome-to-Boostnote" data-line="1">Welcome to Boostnote!</h1>␊
102+
<h2 id="Click-here-to-edit-markdown" data-line="2">Click here to edit markdown 👋</h2>␊
103103
<iframe width="560" height="315" src="https://www.youtube.com/embed/L0qNPLsvmyM" frameborder="0" allowfullscreen></iframe>␊
104-
<h2 data-line="6" id="Docs-%F0%9F%93%9D">Docs 📝</h2>␊
104+
<h2 id="Docs" data-line="6">Docs 📝</h2>␊
105105
<ul>␊
106106
<li data-line="7"><a href="https://hackernoon.com/boostnote-boost-your-happiness-productivity-and-creativity-315034efeebe">Boostnote | Boost your happiness, productivity and creativity.</a></li>␊
107107
<li data-line="8"><a href="https://github.com/BoostIO/Boostnote/wiki/Cloud-Syncing-and-Backup">Cloud Syncing &amp; Backups</a></li>␊
@@ -112,15 +112,15 @@ Generated by [AVA](https://ava.li).
112112
<li data-line="13"><a href="https://github.com/BoostIO/Boostnote/wiki/Syntax-Highlighting">How to set syntax highlight in Snippet note</a></li>␊
113113
</ul>␊
114114
<hr />␊
115-
<h2 data-line="17" id="Article-Archive-%F0%9F%93%9A">Article Archive 📚</h2>␊
115+
<h2 id="Article-Archive" data-line="17">Article Archive 📚</h2>␊
116116
<ul>␊
117117
<li data-line="18"><a href="http://bit.ly/2mOJPu7">Reddit English</a></li>␊
118118
<li data-line="19"><a href="https://www.reddit.com/r/boostnote_es/">Reddit Spanish</a></li>␊
119119
<li data-line="20"><a href="https://www.reddit.com/r/boostnote_cn/">Reddit Chinese</a></li>␊
120120
<li data-line="21"><a href="https://www.reddit.com/r/boostnote_jp/">Reddit Japanese</a></li>␊
121121
</ul>␊
122122
<hr />␊
123-
<h2 data-line="25" id="Community-%F0%9F%8D%BB">Community 🍻</h2>␊
123+
<h2 id="Community" data-line="25">Community 🍻</h2>␊
124124
<ul>␊
125125
<li data-line="26"><a href="http://bit.ly/2AWWzkD">GitHub</a></li>␊
126126
<li data-line="27"><a href="http://bit.ly/2z8BUJZ">Twitter</a></li>␊
@@ -132,15 +132,15 @@ Generated by [AVA](https://ava.li).
132132

133133
> Snapshot 1
134134
135-
`<h2 data-line="1" id="sub">sub</h2>␊
135+
`<h2 id="sub" data-line="1">sub</h2>␊
136136
<p data-line="3">H<sub>2</sub>0</p>␊
137137
`
138138

139139
## Markdown.render() should renders sup correctly
140140

141141
> Snapshot 1
142142
143-
`<h2 data-line="1" id="sup">sup</h2>␊
143+
`<h2 id="sup" data-line="1">sup</h2>␊
144144
<p data-line="3">29<sup>th</sup></p>␊
145145
`
146146

-37 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)