Mercurial > vim
diff src/testdir/test_netbeans.py @ 20625:116c7bd5e980 v8.2.0866
patch 8.2.0866: not enough tests for buffer writing
Commit: https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 31 21:28:02 2020 +0200
patch 8.2.0866: not enough tests for buffer writing
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 31 May 2020 21:30:03 +0200 |
parents | b378f860d4ab |
children | c8a4ad051d23 |
line wrap: on
line diff
--- a/src/testdir/test_netbeans.py +++ b/src/testdir/test_netbeans.py @@ -102,7 +102,8 @@ class ThreadedTCPRequestHandler(socketse 'setReadOnly_Test' : '3:setReadOnly!87\n', 'close_Test' : '3:close!88\n', 'specialKeys_Test' : '0:specialKeys!89 "F12 F13"\n', - 'detach_Test' : '2:close!90\n1:close!91\nDETACH\n' + 'nbbufwrite_Test' : '4:editFile!90 "XnbBuffer"\n4:netbeansBuffer!91 T\n', + 'detach_Test' : '2:close!92\n1:close!93\nDETACH\n' } # execute the specified test if cmd not in testmap: @@ -120,7 +121,7 @@ class ThreadedTCPRequestHandler(socketse if len(response) > 0: self.request.sendall(response.encode('utf-8')) - # Write the respoinse into the file, so that the test can knows + # Write the response into the file, so that the test can knows # the command was sent. with open("Xnetbeans", "a") as myfile: myfile.write('send: ' + response)