From 64af7bbe76a5868e38151f9d6abc563b082a92a0 Mon Sep 17 00:00:00 2001 From: Led Date: Thu, 20 Jun 2024 00:00:00 +0300 Subject: [PATCH] json_tests: disable tests for Erlang/OTP 27.0 --- test/json_tests.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/json_tests.erl b/test/json_tests.erl index a917e174..c574345a 100644 --- a/test/json_tests.erl +++ b/test/json_tests.erl @@ -1,5 +1,7 @@ -module(json_tests). +-ifdef(OTP_RELEASE). +-if(?OTP_RELEASE < 27). -compile({parse_transform, otpbp_pt}). -include_lib("eunit/include/eunit.hrl"). @@ -424,3 +426,5 @@ multi_stream_decode(Strs) -> io:fwrite("~p '~ts'~n~p~n", [R1, ContBin, Other]), error end. +-endif. +-endif.