test: add test in testsuite.features.js

Partial, add special case in testsuite.features.js
This commit is contained in:
Estevão Soares dos Santos 2015-07-22 12:15:34 +01:00
parent 7c73722fff
commit ffb180dc25

View File

@ -36,6 +36,8 @@ describe('makeHtml() features testsuite', function () {
for (var i = 0; i < tableSuite.length; ++i) { for (var i = 0; i < tableSuite.length; ++i) {
if (tableSuite[i].name === 'basic_with_header_ids') { if (tableSuite[i].name === 'basic_with_header_ids') {
converter = new showdown.Converter({tables: true, tableHeaderId: true}); converter = new showdown.Converter({tables: true, tableHeaderId: true});
} else if (tableSuite[i].name === '#179.parse_md_in_table_ths') {
converter = new showdown.Converter({tables: true, strikethrough: true});
} else { } else {
converter = new showdown.Converter({tables: true}); converter = new showdown.Converter({tables: true});
} }