Improve test name

This commit is contained in:
Sven van Heugten 2026-01-10 09:41:58 +01:00 committed by GitHub
parent b53151b4c5
commit 1ad118c6d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ type NightLightTests() =
| On(_, color) -> color = Red) | On(_, color) -> color = Red)
[<Property(Arbitrary = [| typeof<ArbitraryNonRemotelyControlledLight> |])>] [<Property(Arbitrary = [| typeof<ArbitraryNonRemotelyControlledLight> |])>]
let ``All non-remotely controlled lights should be on if they have power`` (light: Light) = let ``All non-remotely controlled lights with power should be on`` (light: Light) =
genRandomInteractions light genRandomInteractions light
|> ensureStartsWithTimeChanged |> ensureStartsWithTimeChanged
|> ensureLightHasPower light |> ensureLightHasPower light