Skip to content

Commit

Permalink
json_tests: disable tests for Erlang/OTP 27
Browse files Browse the repository at this point in the history
  • Loading branch information
Ledest committed Sep 23, 2024
1 parent 4f7c26c commit b820f81
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/json_tests.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
-module(json_tests).

-ifdef(OTP_RELEASE).
-if(?OTP_RELEASE =:= 27).
-define(OTP_RELEASE_27, true).
-endif.
-endif.

-ifndef(OTP_RELEASE_27).
-compile({parse_transform, otpbp_pt}).

-include_lib("eunit/include/eunit.hrl").
Expand Down Expand Up @@ -594,3 +601,4 @@ format_fun_test() ->
/utf8>>,
?assertEqual(Formatted, format(All, Formatter)),
ok.
-endif.

0 comments on commit b820f81

Please sign in to comment.