diff --git a/src/ruleSnapshotTester.ts b/src/ruleSnapshotTester.ts index c2b7033..c2e34cb 100644 --- a/src/ruleSnapshotTester.ts +++ b/src/ruleSnapshotTester.ts @@ -131,7 +131,7 @@ export function runLintFixtureTests({ const result = [ 'Original code:', - '========================', + '==========================', serializedErrors, '', 'Code after applying fixes:', diff --git a/src/tests/__snapshots__/autofix.test.ts.snap b/src/tests/__snapshots__/autofix.test.ts.snap index b52e51c..a42c56b 100644 --- a/src/tests/__snapshots__/autofix.test.ts.snap +++ b/src/tests/__snapshots__/autofix.test.ts.snap @@ -2,7 +2,7 @@ exports[`rule with accepted autofix should display errors before and code after fix 1`] = ` "Original code: -======================== +========================== const namedFooSecond = 'fixed' ~~~~~~~~~~~~~~ [1] @@ -20,7 +20,7 @@ const namedBarSecond = 'fixed' exports[`rule with nested reports and accepted autofix should display errors before and code after fix 1`] = ` "Original code: -======================== +========================== class SomethingFooSecond { ~~~~~~~~~~~~~~~~~~~~~~~~~~ [1] @@ -80,7 +80,7 @@ const namedFooFirst = 'not fixed' exports[`rule with unstable fix should show remaining errors after applying fix 1`] = ` "Original code: -======================== +========================== class SomethingFooThird { ~~~~~~~~~~~~~~~~~~~~~~~~~ [1]