From edf999cfe60a0821b3f1c524670c86f0c04f71f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Fri, 31 May 2024 11:02:07 +0200 Subject: [PATCH] Adapt tests --- .../Test/Golden/Cardano/Api/ProtocolParameters.hs | 3 +++ .../cardano-api-test/Test/Cardano/Api/ProtocolParameters.hs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cardano-api/test/cardano-api-golden/Test/Golden/Cardano/Api/ProtocolParameters.hs b/cardano-api/test/cardano-api-golden/Test/Golden/Cardano/Api/ProtocolParameters.hs index 54f720b692..d2309136b1 100644 --- a/cardano-api/test/cardano-api-golden/Test/Golden/Cardano/Api/ProtocolParameters.hs +++ b/cardano-api/test/cardano-api-golden/Test/Golden/Cardano/Api/ProtocolParameters.hs @@ -3,6 +3,9 @@ {-# LANGUAGE NumericUnderscores #-} {-# LANGUAGE ScopedTypeVariables #-} +-- TODO remove me when ProtocolParameters is deleted +{-# OPTIONS_GHC -Wno-deprecations #-} + module Test.Golden.Cardano.Api.ProtocolParameters ( test_golden_ProtocolParameters , test_golden_ProtocolParameters_to_PParams diff --git a/cardano-api/test/cardano-api-test/Test/Cardano/Api/ProtocolParameters.hs b/cardano-api/test/cardano-api-test/Test/Cardano/Api/ProtocolParameters.hs index 8f566ce0a7..f93a1ec447 100644 --- a/cardano-api/test/cardano-api-test/Test/Cardano/Api/ProtocolParameters.hs +++ b/cardano-api/test/cardano-api-test/Test/Cardano/Api/ProtocolParameters.hs @@ -3,6 +3,9 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} +-- TODO remove me when ProtocolParameters is deleted +{-# OPTIONS_GHC -Wno-deprecations #-} + module Test.Cardano.Api.ProtocolParameters ( tests ) where