Skip to content

Commit

Permalink
tests: add a few extra tests for emphasis
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Dec 5, 2018
1 parent 1386867 commit 2e7c9b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/specs/marked/marked-spec.js
Expand Up @@ -87,3 +87,17 @@ describe('Marked Table cells', function() {
messenger.test(spec, section, ignore);
});
});

describe('Emphasis extra tests', function() {
var section = 'Emphasis extra tests';

var shouldPassButFails = [];

var willNotBeAttemptedByCoreTeam = [];

var ignore = shouldPassButFails.concat(willNotBeAttemptedByCoreTeam);

markedSpec.forEach(function(spec) {
messenger.test(spec, section, ignore);
});
});
6 changes: 6 additions & 0 deletions test/specs/marked/marked.json
Expand Up @@ -94,5 +94,11 @@
"markdown": "**me@example.com**",
"html": "<p><strong><a href=\"mailto:me@example.com\">me@example.com</a></strong></p>",
"example": 1327
},
{
"section": "Emphasis extra tests",
"markdown": "_test_. _test_: _test_! _test_? _test_-",
"html": "<p><em>test</em>. <em>test</em>: <em>test</em>! <em>test</em>? <em>test</em>-</p>",
"example": 15
}
]

0 comments on commit 2e7c9b5

Please sign in to comment.