mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
git: improve test logging
On windows, git might report undocumented "DA rename.txt" file status in this case. GitOrigin-RevId: 3039b678975605a807afed7976885055bbaf0d88
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e465b01643
commit
6ee1fc0104
@@ -239,9 +239,18 @@ class GitChangeProviderVersionedTest : GitChangeProviderTest() {
|
||||
|
||||
// do not trigger move via VcsVFSListener
|
||||
rm("RENAME.txt")
|
||||
assertFalse(child("RENAME.txt").exists())
|
||||
assertFalse(child("rename.txt").exists())
|
||||
|
||||
LOG.debug("STATUS BEFORE\n" + git("status"))
|
||||
LOG.debug("STATUS BEFORE\n" + git("status --short"))
|
||||
|
||||
touch("rename.txt", "rename_file_content")
|
||||
repo.git("add -N rename.txt")
|
||||
|
||||
LOG.debug("STATUS AFTER\n" + git("status"))
|
||||
LOG.debug("STATUS AFTER\n" + git("status --short"))
|
||||
|
||||
VfsUtil.markDirtyAndRefresh(false, true, true, projectRoot)
|
||||
dirty(projectRoot)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user