aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/static_handler_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/static_handler_SUITE.erl b/test/static_handler_SUITE.erl
index e4e0ef1..e8d496c 100644
--- a/test/static_handler_SUITE.erl
+++ b/test/static_handler_SUITE.erl
@@ -83,8 +83,9 @@ end_per_suite(Config) ->
%% Static directories.
StaticDir = config(static_dir, Config),
PrivDir = code:priv_dir(ct_helper) ++ "/static",
- ok = file:delete(StaticDir ++ "/large.bin"),
- ok = file:delete(PrivDir ++ "/large.bin"),
+ %% This file is not created on Windows.
+ _ = file:delete(StaticDir ++ "/large.bin"),
+ _ = file:delete(PrivDir ++ "/large.bin"),
ct_helper:delete_static_dir(StaticDir),
ct_helper:delete_static_dir(PrivDir).