Skip to content

Commit c362f46

Browse files
authored
chore: fix test spacing (#15)
1 parent d841bef commit c362f46

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/parse.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ const hasNamedGroups = 'groups' in /x/.exec('x');
66

77
function run(route, url, loose) {
88
let i=0, out={}, result=parse(route, !!loose);
9-
let matches = result.pattern.exec(url);
10-
if (matches === null) return false;
11-
if (matches.groups) return matches.groups;
12-
while (i < result.keys.length) {
13-
out[ result.keys[i] ] = matches[++i] || null;
14-
}
15-
return out;
9+
let matches = result.pattern.exec(url);
10+
if (matches === null) return false;
11+
if (matches.groups) return matches.groups;
12+
while (i < result.keys.length) {
13+
out[ result.keys[i] ] = matches[++i] || null;
14+
}
15+
return out;
1616
}
1717

1818
function raw(route, url, loose) {

0 commit comments

Comments
 (0)