Skip to content

Commit 4305910

Browse files
committed
tests: add a few extra tests for emphasis
1 parent 1386867 commit 4305910

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

test/specs/marked/marked-spec.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,17 @@ describe('Marked Table cells', function() {
8787
messenger.test(spec, section, ignore);
8888
});
8989
});
90+
91+
describe('Emphasis extra tests', function() {
92+
var section = 'Emphasis extra tests';
93+
94+
var shouldPassButFails = [];
95+
96+
var willNotBeAttemptedByCoreTeam = [];
97+
98+
var ignore = shouldPassButFails.concat(willNotBeAttemptedByCoreTeam);
99+
100+
markedSpec.forEach(function(spec) {
101+
messenger.test(spec, section, ignore);
102+
});
103+
});

test/specs/marked/marked.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,11 @@
9494
"markdown": "**[email protected]**",
9595
"html": "<p><strong><a href=\"mailto:[email protected]\">[email protected]</a></strong></p>",
9696
"example": 1327
97+
},
98+
{
99+
"section": "Emphasis extra tests",
100+
"markdown": "_test_. _test_: _test_! _test_? _test_-",
101+
"html": "<p><em>test</em>. <em>test</em>: <em>test</em>! <em>test</em>? <em>test</em>-</p>",
102+
"example": 15
97103
}
98104
]

0 commit comments

Comments
 (0)