Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
Fix tests for ghc 8.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Aug 27, 2019
1 parent b14a3f8 commit f65f854
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/GhcModPluginSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ ghcmodSpec =
#if (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(8,4,0,0)))
#else
, (Range (toPos (33, 15)) (toPos (33, 19)), "[Test] -> ShowS")
, (Range (toPos (33, 15)) (toPos (33, 19)), "[Test] -> ShowS")
#endif
]
testCommand testPlugins act "ghcmod" "type" arg res
Expand All @@ -506,6 +507,7 @@ ghcmodSpec =
, (Range (toPos (33, 21)) (toPos (33, 23)), "Test -> Test -> Bool")
#if (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(8,4,0,0)))
#else
, (Range (toPos (33, 21)) (toPos (33, 23)), "Int -> Test -> ShowS")
, (Range (toPos (33, 21)) (toPos (33, 23)), "Test -> Test -> Bool")
#endif
]
Expand Down

0 comments on commit f65f854

Please sign in to comment.