diff --git a/test/Spec.hs b/test/Spec.hs
index a824f8c30c8d0402a34ed34ad58153e59f95b76f..e286043c3cdaa89fe9e09b0e534ce30346510712 100644
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -1 +1,3 @@
 {-# OPTIONS_GHC -F -pgmF hspec-discover #-}
+{-# OPTIONS_GHC -Wno-missing-export-lists #-}
+{-# OPTIONS_GHC -Wno-prepositive-qualified-module #-}