# editor: Fix editor tests from changing on format on save \(\#33532\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9e2023bffc38bf1ec3561850b74401a863a880e4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9e2023bffc38bf1ec3561850b74401a863a880e4

Requested commit: 9e2023bffc38bf1ec3561850b74401a863a880e4

Commit: 9e2023bffc38bf1ec3561850b74401a863a880e4

Tree: 2529f0e07b738dbb368c7db9d67f9ab5f4de32f2

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix editor tests from changing on format on save (#33532)

Use placeholder to prevent format-on-save from removing whitespace in
editor tests, which leads to unnecessary git diff and failing tests.

cc: https://github.com/zed-industries/zed/pull/32340

Release Notes:

- N/A
```

## Parents

- [3ab4ad6de8acaaa0f4698387e24887585d3becd9](https://git.cafe/gitcafe/zed/commit/3ab4ad6de8acaaa0f4698387e24887585d3becd9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9e2023bffc38bf1ec3561850b74401a863a880e4?format=markdown)
