From 39ca4b9b155bf02f36bc9ed0666220c6260dd31c Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Mon, 13 Jul 2020 11:15:51 -0400 Subject: [PATCH] Placate hlint. --- test/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Main.hs b/test/Main.hs index 536e95d..378fd34 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -19,12 +19,12 @@ problematic = testStateDropsWrites :: Tasty.TestTree testStateDropsWrites = HUnit.testCase "State.Strict drops writes" $ do - result <- State.execState 'a' $ problematic + result <- State.execState 'a' problematic result HUnit.@?= 'a' -- writes are lost testIOStatePreservesWrites :: Tasty.TestTree testIOStatePreservesWrites = HUnit.testCase "State.IORef preserves writes" $ do - result <- IOState.execState 'a' $ problematic + result <- IOState.execState 'a' problematic result HUnit.@?= 'x' tests :: Tasty.TestTree