Skip to content

Commit d6e3f3a

Browse files
committed
update all tests to include pattern and prefix
1 parent f99f8ff commit d6e3f3a

File tree

2 files changed

+116
-138
lines changed

2 files changed

+116
-138
lines changed

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,11 @@ function regexpToRegexp (path, keys) {
221221
for (var i = 0; i < groups.length; i++) {
222222
keys.push({
223223
name: i,
224+
prefix: null,
224225
delimiter: null,
225226
optional: false,
226-
repeat: false
227+
repeat: false,
228+
pattern: null
227229
})
228230
}
229231
}

0 commit comments

Comments
 (0)