[PATCH 1 of 7] test-lock.py: copy-edit assertions about file existing

Siddharth Agarwal sid0 at fb.com
Fri Sep 25 19:00:35 UTC 2015


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1443141193 25200
#      Thu Sep 24 17:33:13 2015 -0700
# Node ID 2f8bf83ce463c84342897fbb904f07c68b7919d7
# Parent  6d6573be7dc37376d9c5a22be8fbbfcdc4f2814a
test-lock.py: copy-edit assertions about file existing

Before: expected lock to exists but actually did not exists
After:  expected lock to exist but actually did not exist

diff --git a/tests/test-lock.py b/tests/test-lock.py
--- a/tests/test-lock.py
+++ b/tests/test-lock.py
@@ -80,9 +80,9 @@ class teststate(object):
 
     def _toexists(self, exists):
         if exists:
-            return 'exists'
+            return 'exist'
         else:
-            return 'not exists'
+            return 'not exist'
 
 class testlock(unittest.TestCase):
     def testlock(self):


More information about the Mercurial-devel mailing list