aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-04-24 01:12:24 +0200
committerache <ache@ache.one>2018-04-24 04:46:28 +0200
commit6372397a7e85d1f35660c7a08ea869ff2dde20b3 (patch)
tree96c811d8b4a3343513df1ed0e54f5053e9214249
parentuse the package md-attr-parser (diff)
update tests
-rw-r--r--__tests__/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/__tests__/index.js b/__tests__/index.js
index 805ba42..ace668b 100644
--- a/__tests__/index.js
+++ b/__tests__/index.js
@@ -66,7 +66,7 @@ test('line-input-classes', t => {
test('line-input-key-value', t => {
const {contents} = render('[__math exercice__]{unicorn="horse + horn"}');
- t.is(contents, '<p><input type="text" unicorn="horse + horn" placeholder="math exercice"></p>');
+ t.is(contents, '<p><input unicorn="horse + horn" type="text" placeholder="math exercice"></p>');
});
test('line-input-overwrite-type', t => {
@@ -76,7 +76,7 @@ test('line-input-overwrite-type', t => {
test('line-input-overwrite-placeholder', t => {
const {contents} = render('[__Please not a bad answer__]{placeholder=\'not here\'}');
- t.is(contents, '<p><input type="text" placeholder="Please not a bad answer"></p>');
+ t.is(contents, '<p><input placeholde"Please not a bad answer" type="text"></p>');
});
test('line-input-overwrite-class', t => {