Skip to content

Commit

Permalink
🎨 automated ormolu commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lsrcz authored and github-actions[bot] committed Sep 5, 2024
1 parent a47121c commit 2a092ae
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
24 changes: 12 additions & 12 deletions test/Grisette/Core/Control/Monad/UnionTests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,18 @@ unionTests =
Just ("u1c", mrgSingle $ Left "u1a", mrgSingle $ Right "u1b")
actual @?= expected
]
]{-,
testGroup
"Show"
[ testCase "Merged" $ do
let expected =
"{If (ite u12c u1c u2c) (Left (ite u12c u1a u2a)) "
++ "(Right (ite u12c u1b u2b))}"
show union12Merged @?= expected,
testCase "Not merged" $ do
let expected = "<If u1c u1a u1b>"
show unionSimple1 @?= expected
]-},
] {-,
testGroup
"Show"
[ testCase "Merged" $ do
let expected =
"{If (ite u12c u1c u2c) (Left (ite u12c u1a u2a)) "
++ "(Right (ite u12c u1b u2b))}"
show union12Merged @?= expected,
testCase "Not merged" $ do
let expected = "<If u1c u1a u1b>"
show unionSimple1 @?= expected
]-},
testGroup
"PPrint"
[ testCase "Merged" $ do
Expand Down
2 changes: 1 addition & 1 deletion test/Grisette/SymPrim/Prim/ConcurrentTests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ concurrentTests =
a@(SymInteger ta) <- takeMVar aref
b@(SymInteger tb) <- takeMVar bref
r <- solve z3 $ a .== b
print ta
print ta
print tb
case r of
Left err -> error $ show err
Expand Down
15 changes: 8 additions & 7 deletions test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,14 @@ import Test.Framework (Test, defaultMain, testGroup)
main :: IO ()
main = do
return ()
-- defaultMain
-- [ coreTests,
-- irTests,
-- sbvTests,
-- libTests,
-- unifiedTests
-- ]

-- defaultMain
-- [ coreTests,
-- irTests,
-- sbvTests,
-- libTests,
-- unifiedTests
-- ]

coreTests :: Test
coreTests =
Expand Down

0 comments on commit 2a092ae

Please sign in to comment.