Skip to content

Commit

Permalink
Update Spec to use Diff >= 1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Nov 28, 2024
1 parent 7f5df78 commit 273f76c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion citeproc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ test-suite spec
, transformers
, mtl
, timeit
, Diff >= 0.4
, Diff >= 1.0
, pretty
, filepath
, aeson
Expand Down
4 changes: 2 additions & 2 deletions test/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,6 @@ showDiff expected actual = do
putStrLn $ Pretty.render $ prettyContextDiff
(Pretty.text "expected")
(Pretty.text "actual")
(Pretty.text . T.unpack)
$ getContextDiff 1 (T.lines expected) (T.lines actual)
(Pretty.text . T.unpack . unnumber)
$ getContextDiff Nothing (T.lines expected) (T.lines actual)

0 comments on commit 273f76c

Please sign in to comment.