Skip to content

Commit 7e9dee2

Browse files
committed
Fix wording
1 parent 1bf3fb4 commit 7e9dee2

File tree

1 file changed

+3
-3
lines changed
  • code/config/test/Test/Loot/Config

1 file changed

+3
-3
lines changed

code/config/test/Test/Loot/Config/Env.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type OptionalFields =
4444

4545
test_envParsing :: [TestTree]
4646
test_envParsing =
47-
[ testCase "Can parse successfully" $ do
47+
[ testCase "Can parse simple config successfully" $ do
4848
let cfg =
4949
either (error . show) id . finalise $
5050
either (error . fmt . build) id $
@@ -57,7 +57,7 @@ test_envParsing =
5757
cfg ^. option #myStr @?= "nyan"
5858
cfg ^. option #option1 @?= "text"
5959

60-
, testCase "Parse errors work" $
60+
, testCase "Parsing errors works" $
6161
parseEnvPure @SubFields [("OPTION1", "text")]
6262
@?= Left EnvParseError
6363
{ errKey = "OPTION1", errValue = Just "text"
@@ -68,7 +68,7 @@ test_envParsing =
6868
& first errMessage)
6969
@?= Left "Numeric overflow"
7070

71-
, testCase "Can parse no value to Maybe" $ do
71+
, testCase "Can parse no value to Nothing" $ do
7272
let cfg =
7373
either (error . show) id . finalise $
7474
either (error . fmt . build) id $

0 commit comments

Comments
 (0)