We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cf843c commit 923d67bCopy full SHA for 923d67b
tests/doc/parse.ts
@@ -445,6 +445,12 @@ describe('odd indentations', () => {
445
expect(doc.errors).toHaveLength(0)
446
expect(doc.contents).toMatchObject({ value: 'x\n' })
447
})
448
+
449
+ test('tab after indent spaces for flow-in-block (#604)', () => {
450
+ const doc = YAML.parseDocument<YAML.YAMLMap, false>('foo:\n \tbar')
451
+ expect(doc.errors).toHaveLength(0)
452
+ expect(doc.toJS()).toMatchObject({ foo: 'bar' })
453
+ })
454
455
456
describe('Excessive entity expansion attacks', () => {
0 commit comments