utils.test.js
This file
Path
test/utils.test.js
17 lines · 603 bytes · JavaScript
Last changed by
Test typoTj Holowaychukbefore adoption091f9f7
History of this fileTake it
The walk stopped after 200 commits: lines older than 0eeef2d point at it.
Style fixesTj Holowaychukbefore adoption0eeef2d
lines 1–8why, one step back12/**3 * Module dependencies.4 */56var utils = require('express/utils');78module.exports = {Test typoTj Holowaychukbefore adoption091f9f7
line 9why, one step back9 'test miniMarkdown()': function(assert){Style fixesTj Holowaychukbefore adoption0eeef2d
lines 10–17why, one step back10 assert.equal('<em>foo</em>', utils.miniMarkdown('_foo_'));11 assert.equal('<em>foo</em>', utils.miniMarkdown('*foo*'));12 assert.equal('<strong>foo</strong>', utils.miniMarkdown('**foo**'));13 assert.equal('<strong>foo</strong>', utils.miniMarkdown('__foo__'));14 assert.equal('<em>foo</em>_', utils.miniMarkdown('_foo__'));15 assert.equal('<a href="/login">User Login</a>', utils.miniMarkdown('[User Login](/login)'));16 }17};