From 5d9d2f544c6950c29523d2bce82d9d90071a95bf Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Tue, 2 Oct 2018 22:59:47 +0300 Subject: [PATCH] [file-history] assume case insensitive fs in test for case-only renames --- .../impl/test/com/intellij/vcs/log/history/FileHistoryTest.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/vcs-log/impl/test/com/intellij/vcs/log/history/FileHistoryTest.kt b/platform/vcs-log/impl/test/com/intellij/vcs/log/history/FileHistoryTest.kt index ec803d7fc6c3..8b340f60b280 100644 --- a/platform/vcs-log/impl/test/com/intellij/vcs/log/history/FileHistoryTest.kt +++ b/platform/vcs-log/impl/test/com/intellij/vcs/log/history/FileHistoryTest.kt @@ -2,6 +2,7 @@ package com.intellij.vcs.log.history import com.intellij.openapi.util.Couple +import com.intellij.openapi.util.SystemInfo import com.intellij.openapi.vcs.FilePath import com.intellij.openapi.vcs.LocalFilePath import com.intellij.util.containers.MultiMap @@ -17,6 +18,7 @@ import com.intellij.vcs.log.graph.impl.facade.FilteredController import gnu.trove.THashMap import gnu.trove.TIntObjectHashMap import org.junit.Assert +import org.junit.Assume.assumeFalse import org.junit.Ignore import org.junit.Test @@ -233,6 +235,8 @@ class FileHistoryTest { @Test fun historyWithCyclicCaseOnlyRenames() { + assumeFalse("Case insensitive fs is required", SystemInfo.isFileSystemCaseSensitive) + val lowercasePath = LocalFilePath("file.txt", false) val uppercasePath = LocalFilePath("FILE.TXT", false) val mixedPath = LocalFilePath("FiLe.TxT", false)