forked from golang/dep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always remove temp dir after test in vcs_source_test
Some tests in vcs_source_test did not always delete the temp dir they created. The git-source tests for example only removed the temp dirs for certain failure conditions, but not when the test passed. This is fixed by deferring the cleanup function right after creating the temp dirs for each test.
- Loading branch information
Showing
1 changed file
with
12 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters