Skip to content

Commit b63c34b

Browse files
committed
Fix test_archive_branch test after rebase
1 parent 5aaf512 commit b63c34b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/units/test_archive.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,7 @@ def test_archive_with_prefix_and_path
8383
end
8484

8585
def test_archive_branch
86-
in_temp_dir do
87-
c = Git.clone(@wbare, 'new')
88-
c.chdir do
89-
f = @git.remote('working').branch('master').archive(tempfile, :format => 'tgz')
90-
assert(File.exist?(f))
91-
end
92-
end
86+
f = @git.remote('working').branch('master').archive(tempfile, :format => 'tgz')
87+
assert(File.exist?(f))
9388
end
9489
end

0 commit comments

Comments
 (0)