Skip to content

Commit 540bd4e

Browse files
committed
use wildcard to cover unexpected pattern
1 parent 0c1a771 commit 540bd4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-drivers/encoder/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ main =
3030
do txt <- BS.getContents
3131
case Aeson.decode txt of
3232
Just (Toml.Table t) -> putStr (show (prettyToml t))
33-
Nothing -> exitFailure
33+
_ -> exitFailure
3434

3535
instance a ~ () => Aeson.FromJSON (Toml.Value' a) where
3636
parseJSON =

0 commit comments

Comments
 (0)