Skip to content

Commit 4130530

Browse files
The unit tests use a pre-defined config set by the tests
1 parent ea42d56 commit 4130530

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

diff-so-fancy

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,6 @@ sub git_config {
458458
my $search_key = lc($_[0] || "");
459459
my $default_value = lc($_[1] || "");
460460

461-
# If we're in a unit test, use the default (don't read the users config)
462-
if (in_unit_test()) {
463-
return $default_value;
464-
}
465-
466461
state $raw = {};
467462
if (%$raw && $search_key) {
468463
return $raw->{$search_key} || $default_value;

0 commit comments

Comments
 (0)