Skip to content

Commit

Permalink
Restyled by brittany
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed May 13, 2022
1 parent 21d4606 commit 6ec7d45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/SpecHelper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,4 @@ withApp :: SpecWith (TestApp App) -> Spec
withApp = before $ pure (App, id)

shouldBe :: (HasCallStack, Eq a, Show a) => a -> a -> YesodExample site ()
shouldBe a b =
a `HspecLifted.shouldBe` b
shouldBe a b = a `HspecLifted.shouldBe` b
7 changes: 5 additions & 2 deletions test/Yesod/Paginator/WidgetsSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,8 @@ spec = withApp $ do
]

buildParams pageParamName pageNumber params
`shouldBe`
[("p", "3"), ("foo", "bar"), ("ids[]", "1"), ("ids[]", "2")]
`shouldBe` [ ("p", "3")
, ("foo", "bar")
, ("ids[]", "1")
, ("ids[]", "2")
]

0 comments on commit 6ec7d45

Please sign in to comment.