Skip to content

Commit 9e5e0ef

Browse files
author
Dan Fithian
committed
Try to spell it right
1 parent 5509a83 commit 9e5e0ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/PropertyKeys.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ keysTests =
3838
, testProperty "Version" $ roundTripKey (undefined :: Version)
3939
, testProperty "Lazy Text" $ roundTripKey (undefined :: LT.Text)
4040
, testProperty "UUID" $ roundTripKey UUID.nil
41-
, testProperty "Const Text" $ roundTripKey (undefined :: Const T.Text)
41+
, testProperty "Const Text" $ roundTripKey (undefined :: Const T.Text ())
4242
]

tests/UnitTests.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ fromJSONKeyAssertions =
344344
[ assertIsCoerce "Text" (fromJSONKey :: FromJSONKeyFunction Text)
345345
, assertIsCoerce "Tagged Int Text" (fromJSONKey :: FromJSONKeyFunction (Tagged Int Text))
346346
, assertIsCoerce "MyText" (fromJSONKey :: FromJSONKeyFunction MyText)
347-
, assertIsCoerce "Const Text" (fromJSONKey :: FromJSONKeyFunction (Const Text))
347+
, assertIsCoerce "Const Text" (fromJSONKey :: FromJSONKeyFunction (Const Text ()))
348348

349349
#if __GLASGOW_HASKELL__ >= 710
350350
, assertIsCoerce' "MyText'" (fromJSONKey :: FromJSONKeyFunction MyText')

0 commit comments

Comments
 (0)