Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than bdfd813 point at it.

Removed `make install-support`Tj Holowaychukbefore adoptionbdfd813

lines 1–8why, one step back
1
2/**3 * Module dependencies.4 */56var utils = require('express/utils');78module.exports = {

Test typoTj Holowaychukbefore adoption091f9f7

line 9why, one step back
9 'test miniMarkdown()': function(assert){

Removed `make install-support`Tj Holowaychukbefore adoptionbdfd813

lines 10–17why, one step back
10 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};