aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-04-06 14:27:20 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-04-06 14:27:20 +0300
commita43e05591639132ce121d2e14258944a53004438 (patch)
treeed25d31c0b99daee25a575a95baab2749fc61755
parentb59ac37b2c09d5dc80b59bd3a2aea36989bee713 (diff)
downloadpleroma-a43e05591639132ce121d2e14258944a53004438.tar.gz
using another fn for file deletion
-rw-r--r--test/tasks/emoji_test.exs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tasks/emoji_test.exs b/test/tasks/emoji_test.exs
index f2930652a..f5de3ef0e 100644
--- a/test/tasks/emoji_test.exs
+++ b/test/tasks/emoji_test.exs
@@ -157,8 +157,8 @@ defmodule Mix.Tasks.Pleroma.EmojiTest do
assert File.exists?(files_json)
on_exit(fn ->
- File.rm_rf!(pack_json)
- File.rm_rf!(files_json)
+ File.rm!(pack_json)
+ File.rm!(files_json)
end)
end
@@ -218,8 +218,8 @@ defmodule Mix.Tasks.Pleroma.EmojiTest do
assert captured =~ "#{pack_json} has been updated with the pack2 pack"
on_exit(fn ->
- File.rm_rf!(pack_json)
- File.rm_rf!(files_json)
+ File.rm!(pack_json)
+ File.rm!(files_json)
end)
end
end