"use strict";

const runPrettier = require("../runPrettier");
const EOL = "\n";

describe("parser preprocess function is used to reshape input text", () => {
  runPrettier("plugins/preprocess", ["*.foo", "--plugin=./plugin"]).test({
    stdout: "preprocessed:contents" + EOL,
    stderr: "",
    status: 0,
    write: []
  });
});
