Merge pull request #23 from Useclark/parens-in-values

Add a test for parens not saved in the value
pull/27/head
Johannes Jörg Schmidt 9 years ago
commit 8c276ddb18

@ -51,3 +51,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