This commit is contained in:
Estevão Soares dos Santos 2015-08-03 03:49:03 +01:00
parent 2734326e19
commit cb0509b4a2

View File

@ -120,7 +120,7 @@ describe('showdown.Converter', function () {
function runListener (name) { function runListener (name) {
it('should listen to ' + name, function () { it('should listen to ' + name, function () {
var converter = new showdown.Converter(); var converter = new showdown.Converter();
converter.listen(name, function (evtName, text, options) { converter.listen(name, function (evtName, text) {
evtName.should.equal(name); evtName.should.equal(name);
text.should.match(/^[\s\S]*foo[\s\S]*$/); text.should.match(/^[\s\S]*foo[\s\S]*$/);
return text; return text;