Skip to content

Commit

Permalink
Formatting in doc of @=? and @?=: put some emphasis
Browse files Browse the repository at this point in the history
Should help readability.
  • Loading branch information
andreasabel authored and Bodigrim committed Feb 26, 2024
1 parent d045c28 commit 21ed34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hunit/Test/Tasty/HUnit/Orig.hs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ assertEqual preface expected actual =
infix 1 @?, @=?, @?=

-- | Asserts that the specified actual value is equal to the expected value
-- (with the expected value on the left-hand side).
-- (with the /expected/ value on the left-hand side).
(@=?)
:: (Eq a, Show a, HasCallStack)
=> a -- ^ The expected value
Expand All @@ -85,7 +85,7 @@ infix 1 @?, @=?, @?=
expected @=? actual = assertEqual "" expected actual

-- | Asserts that the specified actual value is equal to the expected value
-- (with the actual value on the left-hand side).
-- (with the /actual/ value on the left-hand side).
(@?=)
:: (Eq a, Show a, HasCallStack)
=> a -- ^ The actual value
Expand Down

0 comments on commit 21ed34d

Please sign in to comment.