Skip to content

Commit

Permalink
Fix static_handler suite code path
Browse files Browse the repository at this point in the history
A future OTP release will use 'strict' code path by default.
This change ensures it works both for old and new OTP.
  • Loading branch information
essen committed Dec 15, 2023
1 parent 67bd791 commit a72bf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/static_handler_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ init_per_suite(Config) ->
%% Add a simple Erlang application archive containing one file
%% in its priv directory.
true = code:add_pathz(filename:join(
[config(data_dir, Config), "static_files_app", "ebin"])),
[config(data_dir, Config), "static_files_app.ez", "static_files_app", "ebin"])),
ok = application:load(static_files_app),
%% A special folder contains files of 1 character from 1 to 127
%% excluding / and \ as they are always rejected.
Expand Down

0 comments on commit a72bf41

Please sign in to comment.