markdownlint/test/snapshots/markdownlint-test.mjs.md
David Anson 5d61d39d55 wip
2025-09-06 18:05:54 -07:00

2.6 KiB

Snapshot report for test/markdownlint-test.mjs

The actual snapshot is saved in markdownlint-test.mjs.snap.

Generated by AVA.

problemMatcher

Snapshot 1

[
  {
    column: undefined,
    description: 'Trailing spaces [Expected: 0 or 2; Actual: 1]',
    line: '2',
    rule: 'MD009/no-trailing-spaces',
    source: 'relative/path/file name.md',
  },
  {
    column: undefined,
    description: 'Multiple spaces after hash on atx style heading [Context: "#  Heading"]',
    line: '1',
    rule: 'MD019/no-multiple-space-atx',
    source: 'relative/path/file name.md',
  },
  {
    column: undefined,
    description: 'Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "#  Heading"]',
    line: '1',
    rule: 'MD022/blanks-around-headings',
    source: 'relative/path/file name.md',
  },
  {
    column: undefined,
    description: 'Spaces inside code span elements [Context: "`code `"]',
    line: '2',
    rule: 'MD038/no-space-in-code',
    source: 'relative/path/file name.md',
  },
  {
    column: undefined,
    description: 'Files should end with a single newline character',
    line: '2',
    rule: 'MD047/single-trailing-newline',
    source: 'relative/path/file name.md',
  },
]

Snapshot 2

[
  {
    column: '3',
    description: 'Multiple spaces after hash on atx style heading [Context: "#  Heading"]',
    line: '1',
    rule: 'MD019/no-multiple-space-atx',
    source: 'relative/path/file name.md',
  },
  {
    column: undefined,
    description: 'Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "#  Heading"]',
    line: '1',
    rule: 'MD022/blanks-around-headings',
    source: 'relative/path/file name.md',
  },
  {
    column: '18',
    description: 'Trailing spaces [Expected: 0 or 2; Actual: 1]',
    line: '2',
    rule: 'MD009/no-trailing-spaces',
    source: 'relative/path/file name.md',
  },
  {
    column: '11',
    description: 'Spaces inside code span elements [Context: "`code `"]',
    line: '2',
    rule: 'MD038/no-space-in-code',
    source: 'relative/path/file name.md',
  },
  {
    column: '18',
    description: 'Files should end with a single newline character',
    line: '2',
    rule: 'MD047/single-trailing-newline',
    source: 'relative/path/file name.md',
  },
]