Skip to content
Myr

tweak tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent f470f0b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/router.test.js+1 added-1 removed
51 unmodified lines
52 app.get('/tobi', [allow('member')], [[restrictAge(18)]], function(req, res){53 res.send(200);54 });55 56 app.get('/user/:user', [allow('member')], [[restrictAge(18)]], function(req, res){56 app.get('/user/:user', [allow('member'), [[restrictAge(18)]]], function(req, res){57 res.send(200);58 });5960 ['xxx', 'booze', 'tobi', 'user/tj'].forEach(function(thing){
207 unmodified lines