@@ -151,7 +151,7 @@ defmodule Mix.Tasks.DepsGitTest do
151
151
File . rm ( "deps/git_repo/.fetch" )
152
152
Mix.Task . clear
153
153
Mix . shell . flush
154
- purge [ A , B , C , GitRepo ]
154
+ purge [ A , B , C , GitRepo , GitRepo.Mixfile ]
155
155
156
156
# Update will mark the update required
157
157
Mix.Tasks.Deps.Update . run [ "git_repo" ]
@@ -186,7 +186,7 @@ defmodule Mix.Tasks.DepsGitTest do
186
186
assert_received { :mix_shell , :info , [ "All dependencies up to date" ] }
187
187
end
188
188
after
189
- purge [ GitRepo , GitRepo.Mix ]
189
+ purge [ GitRepo , GitRepo.Mixfile ]
190
190
end
191
191
192
192
test "updates the lock when the repo updates" do
@@ -214,7 +214,7 @@ defmodule Mix.Tasks.DepsGitTest do
214
214
refute File . read! ( "mix.lock" ) =~ last
215
215
end
216
216
after
217
- purge [ GitRepo , GitRepo.Mix ]
217
+ purge [ GitRepo , GitRepo.Mixfile ]
218
218
end
219
219
220
220
test "updates the repo when the lock updates" do
@@ -250,7 +250,7 @@ defmodule Mix.Tasks.DepsGitTest do
250
250
refute_received { :mix_shell , :error , _ }
251
251
end
252
252
after
253
- purge [ GitRepo , GitRepo.Mix ]
253
+ purge [ GitRepo , GitRepo.Mixfile ]
254
254
end
255
255
256
256
test "updates the repo and the lock when the mixfile updates" do
@@ -282,7 +282,7 @@ defmodule Mix.Tasks.DepsGitTest do
282
282
refute_received { :mix_shell , :error , _ }
283
283
end
284
284
after
285
- purge [ GitRepo , GitRepo.Mix ]
285
+ purge [ GitRepo , GitRepo.Mixfile ]
286
286
end
287
287
288
288
test "does not attempt to compile projects that could not be retrieved" do
@@ -309,7 +309,7 @@ defmodule Mix.Tasks.DepsGitTest do
309
309
assert File . read! ( "mix.lock" ) =~ last
310
310
end
311
311
after
312
- purge [ GitRepo , GitRepo.Mix ]
312
+ purge [ GitRepo , GitRepo.Mixfile ]
313
313
end
314
314
315
315
test "does not load bad mixfiles on update" do
@@ -325,7 +325,7 @@ defmodule Mix.Tasks.DepsGitTest do
325
325
assert File . read! ( "mix.lock" ) =~ last
326
326
end
327
327
after
328
- purge [ GitRepo , GitRepo.Mix ]
328
+ purge [ GitRepo , GitRepo.Mixfile ]
329
329
end
330
330
331
331
defp refresh ( post_config ) do
0 commit comments