Skip to content

Commit 7274106

Browse files
[autofix.ci] apply automated fixes (attempt 2/3)
1 parent 151004b commit 7274106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/shared/utils/parse-basic-frontmatter.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('parseBasicFrontmatter', () => {
150150
})
151151

152152
it('should parse back every key-value pair from generated frontmatter', () => {
153-
const keyArb = fc.stringMatching(/^[a-z][a-z0-9_]*$/i)
153+
const keyArb = fc.stringMatching(/^[a-z]\w*$/i)
154154
const singleValueArbs = (inArray: boolean) =>
155155
// for arrays: all values get parsed as strings and there should not be any comma in the value even for quoted strings
156156
[

0 commit comments

Comments
 (0)