From beb27bf85f503a6462f9e4f1e07e2db65cb8fd80 Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Thu, 20 Jun 2019 15:14:32 +0300 Subject: [PATCH] hg: test fixed - copied untracked file should be added to vcs * hg should process such copied file as newly created one (the same way as git vcs); GitOrigin-RevId: 39b7c17dd433eedb392e3ff1274047e5b614d4ea --- plugins/hg4idea/testSrc/org/zmlx/hg4idea/test/HgCopyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hg4idea/testSrc/org/zmlx/hg4idea/test/HgCopyTest.java b/plugins/hg4idea/testSrc/org/zmlx/hg4idea/test/HgCopyTest.java index 7c7677607987..dd203de32b08 100644 --- a/plugins/hg4idea/testSrc/org/zmlx/hg4idea/test/HgCopyTest.java +++ b/plugins/hg4idea/testSrc/org/zmlx/hg4idea/test/HgCopyTest.java @@ -42,7 +42,7 @@ public class HgCopyTest extends HgSingleUserTest { public void testCopyUnversionedFile() throws Exception { VirtualFile file = makeFile(new File(myWorkingCopyDir.getPath(), "a.txt")); copyFileInCommand(file, "b.txt"); - verify(runHgOnProjectRepo("status"), HgTestOutputParser.unknown("a.txt"), HgTestOutputParser.unknown("b.txt")); + verify(runHgOnProjectRepo("status"), HgTestOutputParser.added("b.txt"), HgTestOutputParser.unknown("a.txt")); } @Test