From b7673b80e71c9a7e38cc2948a1877fee23ea36cb Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Sun, 19 Nov 2017 16:53:37 +0300 Subject: [PATCH] git tests: fix a copy-paste misprint in returning system autocrlf value --- .../tests/git4idea/crlf/GitCrlfProblemsDetectorTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/git4idea/tests/git4idea/crlf/GitCrlfProblemsDetectorTest.java b/plugins/git4idea/tests/git4idea/crlf/GitCrlfProblemsDetectorTest.java index 8fce99351c42..8c92f2897bf3 100644 --- a/plugins/git4idea/tests/git4idea/crlf/GitCrlfProblemsDetectorTest.java +++ b/plugins/git4idea/tests/git4idea/crlf/GitCrlfProblemsDetectorTest.java @@ -14,7 +14,6 @@ import java.util.Collections; import java.util.Iterator; import java.util.List; -import static git4idea.test.GitExecutor.git; import static java.util.Arrays.asList; public class GitCrlfProblemsDetectorTest extends GitSingleRepoTest { @@ -50,7 +49,7 @@ public class GitCrlfProblemsDetectorTest extends GitSingleRepoTest { } if (!StringUtil.isEmptyOrSpaces(myOldSystemAutoCrlfValue)) { - git("config --global core.autocrlf " + myOldSystemAutoCrlfValue); + git("config --system core.autocrlf " + myOldSystemAutoCrlfValue); } } finally {