From 14997bc1a3501cb3b759dc6dff7a2604deb6648b Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 31 Dec 2019 11:28:51 -0500 Subject: Fix ambiguity error in Opposite tests For some reason cabal wasn't properly recompiling this file locally to pick up the introduction of an ambiguity error. --- test/Xanthous/DataSpec.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Xanthous/DataSpec.hs') diff --git a/test/Xanthous/DataSpec.hs b/test/Xanthous/DataSpec.hs index bd02c0f36f..a2fcdbba15 100644 --- a/test/Xanthous/DataSpec.hs +++ b/test/Xanthous/DataSpec.hs @@ -57,14 +57,14 @@ test = testGroup "Xanthous.Data" , testGroup "Corner" [ testGroup "instance Opposite" - [ testProperty "involutive" $ \corner -> + [ testProperty "involutive" $ \(corner :: Corner) -> opposite (opposite corner) === corner ] ] , testGroup "Edge" [ testGroup "instance Opposite" - [ testProperty "involutive" $ \edge -> + [ testProperty "involutive" $ \(edge :: Edge) -> opposite (opposite edge) === edge ] ] -- cgit 1.4.1