Skip to content

Commit 958ac43

Browse files
committed
Always run tests
1 parent 3e34b25 commit 958ac43

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

test/json_polyfill_SUITE.erl

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,6 @@
2525
-module(json_polyfill_SUITE).
2626
-include_lib("stdlib/include/assert.hrl").
2727

28-
-if(?OTP_RELEASE >= 27).
29-
-export([all/0, encode/1, decode/1]).
30-
31-
all() -> [encode, decode].
32-
33-
encode(_Config) ->
34-
?assertEqual(
35-
[$", <<"foo">>, $"],
36-
json:encode(foo)
37-
).
38-
39-
decode(_Config) ->
40-
?assertEqual(
41-
<<"foo">>,
42-
json:decode(<<"\"foo\"">>)
43-
).
44-
-else.
4528
%% Test server specific exports
4629
-export([all/0, suite/0, groups/0, init_per_group/2, end_per_group/2]).
4730

@@ -1090,4 +1073,3 @@ counterexamples(_Config) ->
10901073
?assertEqual(Value, decode_io(encode(Value))).
10911074

10921075
decode_io(IOList) -> decode(iolist_to_binary(IOList)).
1093-
-endif.

0 commit comments

Comments
 (0)