Skip to content

Commit 1c142d4

Browse files
committed
Add test to ensure that Git.open works to open a submodule
Signed-off-by: James Couball <jcouball@yahoo.com>
1 parent 3d8bb39 commit 1c142d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def in_temp_dir
6868
end
6969
ensure
7070
FileUtils.rm_rf(tmpdir_realpath) if tmpdir_realpath
71-
raise "Temp dir #{tmpdir} not removed" if File.exist?(tmpdir)
71+
raise "Temp dir #{tmpdir} not removed. Remaining files : #{Dir["#{tmpdir}/**/*"]}" if File.exist?(tmpdir)
7272
end
7373

7474
def create_file(path, content)

0 commit comments

Comments
 (0)