X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Ftasks%2Femoji_test.exs;h=f5de3ef0e1d4302a40503f0c4b1a28c8fcfe4a8c;hb=63a1a82f38d3d8a63dd7d52e1412446274c94722;hp=f2930652afbabbc0061d89757ed6d09d92256d35;hpb=b59ac37b2c09d5dc80b59bd3a2aea36989bee713;p=akkoma 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