# Make \`SyntaxTheme::new_test\` only available in tests \(\#11909\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4ba57d730ba676c7d3e88a43c48265ed570e8870

Requested commit: 4ba57d730ba676c7d3e88a43c48265ed570e8870

Commit: 4ba57d730ba676c7d3e88a43c48265ed570e8870

Tree: 203f7f9cea201356970aae4eb1174999343b5308

Author: Marshall Bowers

Committer: GitHub

## Message

```
Make `SyntaxTheme::new_test` only available in tests (#11909)

This PR addresses a TODO comment by making `SyntaxTheme::new_test` only
available in tests.

We needed to make it available when the `test-support` feature was
enabled for it to be used in tests outside of the `theme` crate.

Release Notes:

- N/A
```

## Parents

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

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