# Silence error logs in \`zed\` tests \(\#13069\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ea69846281a963663a6746dcd6ba971a71aae63d

Requested commit: ea69846281a963663a6746dcd6ba971a71aae63d

Commit: ea69846281a963663a6746dcd6ba971a71aae63d

Tree: 23a1aae804972406689844c401100c7f1a96ec9a

Author: Marshall Bowers

Committer: GitHub

## Message

```
Silence error logs in `zed` tests (#13069)

This PR silences the remaining error logs in the `zed` crate tests by
initializing `env_logger` in test mode.

This means that the logs will no longer be shown unless `--nocapture` is
passed to `cargo test`.

Release Notes:

- N/A
```

## Parents

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

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