please let this work

This commit is contained in:
Rich Harris
2018-07-16 20:02:42 -04:00
parent e751cbebd5
commit 84aaf3be4a
2 changed files with 1 additions and 1 deletions

View File

@@ -154,6 +154,6 @@ describe('create_routes', () => {
it('errors when trying to use reserved characters in route regexp', () => {
assert.throws(() => {
create_routes(path.join(__dirname, 'samples/invalid-qualifier'));
}, /Invalid route \[foo\(\[a-z\]\[0-9\]\?\)\].js — cannot use \(, \), \? or \: in route qualifiers/);
}, /Invalid route \[foo\(\[a-z\]\(\[0-9\]\)\)\].js — cannot use \(, \), \? or \: in route qualifiers/);
});
});