File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
code/config/test/Test/Loot/Config Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ type OptionalFields =
44
44
45
45
test_envParsing :: [TestTree ]
46
46
test_envParsing =
47
- [ testCase " Can parse successfully" $ do
47
+ [ testCase " Can parse simple config successfully" $ do
48
48
let cfg =
49
49
either (error . show ) id . finalise $
50
50
either (error . fmt . build) id $
@@ -57,7 +57,7 @@ test_envParsing =
57
57
cfg ^. option # myStr @?= " nyan"
58
58
cfg ^. option # option1 @?= " text"
59
59
60
- , testCase " Parse errors work " $
60
+ , testCase " Parsing errors works " $
61
61
parseEnvPure @ SubFields [(" OPTION1" , " text" )]
62
62
@?= Left EnvParseError
63
63
{ errKey = " OPTION1" , errValue = Just " text"
@@ -68,7 +68,7 @@ test_envParsing =
68
68
& first errMessage)
69
69
@?= Left " Numeric overflow"
70
70
71
- , testCase " Can parse no value to Maybe " $ do
71
+ , testCase " Can parse no value to Nothing " $ do
72
72
let cfg =
73
73
either (error . show ) id . finalise $
74
74
either (error . fmt . build) id $
You can’t perform that action at this time.
0 commit comments