Add a test for parens not saved in the value

pull/23/head
Denis Sokolov 9 years ago committed by Denis
parent 3ed0d3cef0
commit 47849de070

@ -43,3 +43,11 @@ test('named parameter with slash in the content', function(t) {
t.end();
});
test('named parameter with parens in the content', function(t) {
var page = docuri.route('page/:id');
t.deepEqual(page(page({ id: 'value(slash)' })), { id: 'value(slash)' }, 'parsed page has parens set back correctly', { todo: true });
t.end();
});

Loading…
Cancel
Save