Skip to content

Commit d1a109a

Browse files
committed
Fix for regex in creteBoundary tests
1 parent d42a124 commit d1a109a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/util/createBoundary.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ test("Returns a string of given length", t => {
1515
t.is(actual.length, expected)
1616
})
1717

18-
test("Returns a string of characters in alphanum range", t => {
18+
test("Returns a string that passes regex of valid range", t => {
1919
const actual = createBoundary(16)
2020

21-
t.regex(actual, /^[a-zA-Z0-9]+$/)
21+
t.regex(actual, /^[a-zA-Z0-9'_-]+$/)
2222
})

0 commit comments

Comments
 (0)