From f0a7d04a61f527d330df4e9c6a87110943eb578f Mon Sep 17 00:00:00 2001 From: Li-yao Xia Date: Wed, 13 Mar 2024 12:48:07 +0100 Subject: [PATCH] Disable x-partial warnings in tests (uses of head and tail) --- tests/Tests/Properties/Basics.hs | 1 + tests/Tests/ShareEmpty.hs | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/Tests/Properties/Basics.hs b/tests/Tests/Properties/Basics.hs index 895d4d74..72d916bc 100644 --- a/tests/Tests/Properties/Basics.hs +++ b/tests/Tests/Properties/Basics.hs @@ -4,6 +4,7 @@ {-# OPTIONS_GHC -Wno-missing-signatures #-} {-# OPTIONS_GHC -Wno-warnings-deprecations #-} +{-# OPTIONS_GHC -Wno-x-partial #-} module Tests.Properties.Basics ( testBasics diff --git a/tests/Tests/ShareEmpty.hs b/tests/Tests/ShareEmpty.hs index adaf700d..6667aee9 100644 --- a/tests/Tests/ShareEmpty.hs +++ b/tests/Tests/ShareEmpty.hs @@ -2,6 +2,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE BangPatterns #-} +{-# OPTIONS_GHC -Wno-x-partial #-} module Tests.ShareEmpty ( tests