Skip to content

Commit 7bf25cf

Browse files
committed
fix README test
1 parent 772c997 commit 7bf25cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/readme-examples.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import fs from 'fs'
33
import { twMerge } from '../src'
44

55
const twMergeExampleRegex =
6-
/twMerge\((?<arguments>[\w\s\-:[\]#(),!\n'"]+?)\)(?!.*(?<!\/\/.*)')\s*\n?\s*\/\/\s*\s*['"](?<result>.+)['"]/g
6+
/twMerge\((?<arguments>[\w\s\-:[\]#(),!&\n'"]+?)\)(?!.*(?<!\/\/.*)')\s*\n?\s*\/\/\s*\s*['"](?<result>.+)['"]/g
77

88
test('readme examples', () => {
9-
expect.assertions(21)
9+
expect.assertions(24)
1010

1111
return fs.promises
1212
.readFile(`${__dirname}/../README.md`, { encoding: 'utf-8' })

0 commit comments

Comments
 (0)