Files
test-repo/tests_integration/__tests__/plugin-flush-line-suffix.js
T
Dang Mai 9d06174d55 Fix #9702 - Flush line suffix contents at the end of document (#9703)
* Failing test case for flushing line-suffix contents

* Flush remaining line-suffix contents at the end of document
2020-11-18 12:58:46 +02:00

15 lines
309 B
JavaScript

"use strict";
const runPrettier = require("../runPrettier");
describe("flush all line-suffix content", () => {
runPrettier("plugins/flushLineSuffix", ["*.foo", "--plugin=./plugin"], {
ignoreLineEndings: true,
}).test({
stdout: "contents",
stderr: "",
status: 0,
write: [],
});
});