2015-07-12 02:32:22 +08:00
|
|
|
var bootstrap = require('../bootstrap.js'),
|
|
|
|
converter = new bootstrap.showdown.Converter({noHeaderId: true}),
|
2015-06-11 08:29:42 +08:00
|
|
|
assertion = bootstrap.assertion,
|
|
|
|
testsuite = bootstrap.getTestSuite('test/karlcow/');
|
|
|
|
|
|
|
|
//MD-Testsuite (borrowed from karlcow/markdown-testsuite)
|
|
|
|
describe('makeHtml() karlcow testsuite', function () {
|
2015-06-17 08:26:50 +08:00
|
|
|
'use strict';
|
2015-06-11 08:29:42 +08:00
|
|
|
for (var i = 0; i < testsuite.length; ++i) {
|
2015-10-19 09:50:32 +08:00
|
|
|
it(testsuite[i].name.replace(/-/g, ' '), assertion(testsuite[i], converter));
|
2015-06-11 08:29:42 +08:00
|
|
|
}
|
|
|
|
});
|