# gpui: Preserve test return type in gpui::property_test macro \(\#55622\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7da1dd4bfa0fc63b2a9c98e264ae65485299423e

Requested commit: 7da1dd4bfa0fc63b2a9c98e264ae65485299423e

Commit: 7da1dd4bfa0fc63b2a9c98e264ae65485299423e

Tree: 07196528e26f4d0d7b8d011bfbdc38dc96313f2a

Author: Cameron Mcloughlin

Committer: GitHub

## Message

```
gpui: Preserve test return type in gpui::property_test macro (#55622)

Proptest allows returning `Result<(), TestCaseError>` , but we were
swallowing return values, causing spurious test successes if using
`prop_assume!`, `prop_assert!`, etc. These would have given an "unused
`Result`" warning.
Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

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

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