projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dismiss the follow request notification on rejection
[akkoma]
/
test
/
tasks
/
emoji_test.exs
diff --git
a/test/tasks/emoji_test.exs
b/test/tasks/emoji_test.exs
index f2930652afbabbc0061d89757ed6d09d92256d35..f5de3ef0e1d4302a40503f0c4b1a28c8fcfe4a8c 100644
(file)
--- 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 ->
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
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 ->
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
end)
end
end