Remove trimEnd() call when transformign

This commit is contained in:
Christopher Schleiden
2022-11-23 14:09:05 -08:00
parent df92695981
commit a6cc41d6ff
2 changed files with 2 additions and 2 deletions
@@ -14,7 +14,7 @@ jobs:
});
it("adds : at end of line with trailing comment", () => {
const [doc, pos] = getPositionFromCursor("on: push\njobs:\n build:\n runs-on| \n#");
const [doc, pos] = getPositionFromCursor("on: push\njobs:\n build:\n runs-on|\n#");
const [newDoc, newPos] = transform(doc, pos);
expect(newDoc.getText()).toEqual(`on: push