Fix a couple of typos.

This commit is contained in:
John Szakmeister 2014-11-24 04:06:31 -05:00
parent 9028abd95e
commit e502c9ba84
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ class VimState(object):
"""Save the unnamed register. 'text_to_expect' is text that we expect """Save the unnamed register. 'text_to_expect' is text that we expect
to be contained in the register the next time this method is called - to be contained in the register the next time this method is called -
this could be text from the tabstop that was selected and might have this could be text from the tabstop that was selected and might have
been overwritten. We will not cash that then.""" been overwritten. We will not cache that then."""
self._unnamed_reg_cached = True self._unnamed_reg_cached = True
escaped_text = self._text_to_expect.replace("'", "''") escaped_text = self._text_to_expect.replace("'", "''")
res = int(_vim.eval('@" != ' + "'" + escaped_text + "'")) res = int(_vim.eval('@" != ' + "'" + escaped_text + "'"))

View File

@ -19,9 +19,9 @@
# For each test, the test.py script will launch vim with a vimrc, run the test, # For each test, the test.py script will launch vim with a vimrc, run the test,
# compare the output and exit vim again. The keys are send using screen. # compare the output and exit vim again. The keys are send using screen.
# #
# NOTE: The tessuite is not working under Windows right now as I have no access # NOTE: The test suite is not working under Windows right now as I have no
# to a windows system for fixing it. Volunteers welcome. Here are some comments # access to a windows system for fixing it. Volunteers welcome. Here are some
# from the last time I got the test suite running under windows. # comments from the last time I got the test suite running under windows.
# #
# Under windows, COM's SendKeys is used to send keystrokes to the gvim window. # Under windows, COM's SendKeys is used to send keystrokes to the gvim window.
# Note that Gvim must use english keyboard input (choose in windows registry) # Note that Gvim must use english keyboard input (choose in windows registry)