Skip to content

Commit e539b63

Browse files
committed
lint: fix
1 parent 7bdb99e commit e539b63

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/attributes.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { describe } from 'vitest'
1+
import { describe, expect } from 'vitest'
22
import { runMarkdownTests } from './utils'
3-
import { expect } from 'vitest'
43

54
describe('Attributes', () => {
65
runMarkdownTests({
@@ -62,13 +61,13 @@ describe('Attributes', () => {
6261
'emphasis': {
6362
markdown: '_emphasis_{#id .class}',
6463
},
65-
ignoreEscapeAttrInNormalAttribute: {
64+
'ignoreEscapeAttrInNormalAttribute': {
6665
markdown: ':copy{code="D:\\\\Software\\\\"}',
6766
expected: ':copy{code="D:\\Software\\"}',
6867
extra: (_md, ast) => {
6968
expect(ast.children[0].type).toBe('textComponent')
7069
expect(ast.children[0].attributes.code).toBe('D:\\Software\\')
71-
}
70+
},
7271
},
7372
'nested-in-table': {
7473
markdown: [

0 commit comments

Comments
 (0)