shelve: in test for trailing whitespace, strip commit (issue6735)
authorJason R. Coombs <jaraco@jaraco.com>
Wed, 17 Aug 2022 10:17:15 -0400
changeset 49454 34dddc5d2e2f
parent 49453 ffb130cd3f27
child 49455 744b341782f4
shelve: in test for trailing whitespace, strip commit (issue6735)
tests/test-shelve.t
--- a/tests/test-shelve.t	Mon Aug 15 10:26:01 2022 -0400
+++ b/tests/test-shelve.t	Wed Aug 17 10:17:15 2022 -0400
@@ -1534,20 +1534,14 @@
   $ hg update -q --clean .
   $ hg patch -p1 test_patch.patch
   applying test_patch.patch
+
+  $ hg strip -q -r .
 #endif
 
-
 Check the comment of the last commit for consistency
 
-#if no-windows
-  $ hg log -r . --template '{desc}\n'
-  changes to: add C to bars
-#endif
-
-#if windows
   $ hg log -r . --template '{desc}\n'
   add C to bars
-#endif
 
 -- if phasebased, shelve works without patch and bundle