diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Main.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Main.hs b/test/Main.hs index 99b01d8..5c01f64 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -31,12 +31,12 @@ instance Arbitrary TestNested where instance Config TestFlat where readConfig = TestType - <$> readValue (Key ["foo"]) - <*> readValue (Key ["bar"]) + <$> readRequiredValue (Key ["foo"]) + <*> readRequiredValue (Key ["bar"]) instance Config TestNested where readConfig = TestNested - <$> readValue (Key ["foo"]) + <$> readRequiredValue (Key ["foo"]) <*> readNested (Key ["nested"]) testTypeToTrivial :: TestFlat -> SomeSource |