Skip to content

Commit 9899caa

Browse files
committed
Merge pull request #1596 from RexOps/cd_into_git_test_repo
Fix checking test git repository
2 parents 19010a5 + 049fa75 commit 9899caa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Revision history for Rex
44
[API CHANGES]
55

66
[BUG FIXES]
7+
- Fix checking test git repository
78

89
[DOCUMENTATION]
910

t/scm/git.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ sub git_repo_ok {
9696
"$directory has .git subdirectory"
9797
);
9898

99-
lives_ok { i_run qq(git -C $directory rev-parse --git-dir) }
99+
lives_ok { i_run 'git rev-parse --git-dir', cwd => $directory }
100100
"$directory looks like a git repository now";
101101

102102
return;

0 commit comments

Comments
 (0)