changeset 41362:713fbf057c7d

tests: clean up after each test in test-unamend.t Differential Revision: https://phab.mercurial-scm.org/D5657
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 18 Jan 2019 16:49:18 -0800
parents 763b45bc4483
children c7d425f7f5c9
files tests/test-unamend.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-unamend.t	Thu Jan 24 10:21:59 2019 -0500
+++ b/tests/test-unamend.t	Fri Jan 18 16:49:18 2019 -0800
@@ -232,6 +232,7 @@
 
   $ hg revert --all
   forgetting bar
+  $ rm bar
 
 Unamending in middle of a stack
 
@@ -302,7 +303,6 @@
 Testing whether unamend retains copies or not
 
   $ hg status
-  ? bar
 
   $ hg mv a foo
 
@@ -370,3 +370,5 @@
   diff --git a/c b/wat
   rename from c
   rename to wat
+  $ hg revert -qa
+  $ rm foobar wat