diff --git a/.gitattributes b/.gitattributes index 71521c9c..25d66839 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,6 +21,7 @@ *.vert text eol=lf *.xml text eol=lf *.yml text eol=lf +*.tw-snapshot text eol=lf # Prefer LF for these files .editorconfig text eol=lf diff --git a/test/integration/tw-snapshots.js b/test/integration/tw-snapshots.js index 5148ef5f..2117289b 100644 --- a/test/integration/tw-snapshots.js +++ b/test/integration/tw-snapshots.js @@ -15,7 +15,7 @@ for (const testCase of Snapshots.tests) { } else if (result !== 'VALID') { // This assertion will always fail, but it will print out the snapshots // for easier comparison. - assert.strictEqual(expected, actual, 'did not match; you may have to run: node test/snapshot --update'); + assert.strictEqual(actual, expected, 'did not match; you may have to run: node test/snapshot --update'); } }); }