From 6ff7ce19b2dd57ce892ccef39ca4fba4b3b6ee8e Mon Sep 17 00:00:00 2001 From: Sven van Heugten Date: Thu, 8 Jan 2026 22:03:39 +0100 Subject: [PATCH] Give the tests slightly better names --- NightLight.Core.Tests/NightLightTests.fs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NightLight.Core.Tests/NightLightTests.fs b/NightLight.Core.Tests/NightLightTests.fs index 4e795da..9da7fc9 100644 --- a/NightLight.Core.Tests/NightLightTests.fs +++ b/NightLight.Core.Tests/NightLightTests.fs @@ -72,7 +72,7 @@ type NightLightTests() = doesLightHavePowerAfter light interactions = fakeHome.LightShouldHaveState light _.IsOn [ |])>] - let ``After pressing 'On' on the remote, all remotely controlled lights with power should be on, as long as the 'Off' button isn't pressed`` + let ``After pressing 'On' on the remote, if the 'Off' button isn't pressed, all remotely controlled lights with power should be on`` (light: Light) = concatGens @@ -87,7 +87,7 @@ type NightLightTests() = ==> fakeHome.LightShouldHaveState light _.IsOn [ |])>] - let ``After a new day starts, all remotely controlled lights with power should be on, as long as the 'Off' button isn't pressed`` + let ``After a new day starts, if the 'Off' button isn't pressed, all remotely controlled lights with power should be on`` (light: Light) = concatGens @@ -104,7 +104,7 @@ type NightLightTests() = ==> fakeHome.LightShouldHaveState light _.IsOn [ |])>] - let ``After pressing 'Off' on the remote, all remotely controlled lights should be off as long as the 'On' button isn't pressed and a new day doesn't start`` + let ``After pressing 'Off' on the remote, if the 'On' button isn't pressed and a new day doesn't start, all remotely controlled lights should be off`` (light: Light) = concatGens