Skip to content

Commit 612c40a

Browse files
author
Andre Asselin
committed
Fix bug in RE that specifies the format of scoped identifier
Discovered when fixing unit tests to pass on Windows
1 parent 0843d40 commit 612c40a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ describe('vue-loader', function () {
424424
})
425425
}
426426
// default localIdentName
427-
testWithIdent(undefined, /^_\w{22}/, function () {
427+
testWithIdent(undefined, /^\w{23}/, function () {
428428
// specified localIdentName
429429
var ident = '[path][name]---[local]---[hash:base64:5]'
430430
var regex = /^test-fixtures-css-modules---red---\w{5}/

0 commit comments

Comments
 (0)