comparison src/testdir/test_channel_lsp.py @ 30986:360f286b5869 v9.0.0828

patch 9.0.0828: various typos Commit: https://github.com/vim/vim/commit/c57b5bcd22826e0852c2bc9c7d4382e1cac7cb74 Author: dundargoc <gocdundar@gmail.com> Date: Wed Nov 2 13:30:51 2022 +0000 patch 9.0.0828: various typos Problem: Various typos. Solution: Correct typos. (closes https://github.com/vim/vim/issues/11432)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 14:45:11 +0100
parents 6b1da12297e5
children 8492bbc9f533
comparison
equal deleted inserted replaced
30985:25894f29103e 30986:360f286b5869
162 162
163 def do_msg_with_id(self, payload): 163 def do_msg_with_id(self, payload):
164 self.send_lsp_msg(payload['id'], 'msg-with-id') 164 self.send_lsp_msg(payload['id'], 'msg-with-id')
165 165
166 def do_msg_specific_cb(self, payload): 166 def do_msg_specific_cb(self, payload):
167 self.send_lsp_msg(payload['id'], 'msg-specifc-cb') 167 self.send_lsp_msg(payload['id'], 'msg-specific-cb')
168 168
169 def do_server_req(self, payload): 169 def do_server_req(self, payload):
170 self.send_lsp_msg(201, {'method': 'checkhealth', 'params': {'a': 20}}) 170 self.send_lsp_msg(201, {'method': 'checkhealth', 'params': {'a': 20}})
171 171
172 def do_extra_hdr_fields(self, payload): 172 def do_extra_hdr_fields(self, payload):
203 'large-payload': self.do_large_payload, 203 'large-payload': self.do_large_payload,
204 'rpc-resp-incorrect-id': self.do_rpc_resp_incorrect_id, 204 'rpc-resp-incorrect-id': self.do_rpc_resp_incorrect_id,
205 'simple-notif': self.do_simple_notif, 205 'simple-notif': self.do_simple_notif,
206 'multi-notif': self.do_multi_notif, 206 'multi-notif': self.do_multi_notif,
207 'msg-with-id': self.do_msg_with_id, 207 'msg-with-id': self.do_msg_with_id,
208 'msg-specifc-cb': self.do_msg_specific_cb, 208 'msg-specific-cb': self.do_msg_specific_cb,
209 'server-req': self.do_server_req, 209 'server-req': self.do_server_req,
210 'extra-hdr-fields': self.do_extra_hdr_fields, 210 'extra-hdr-fields': self.do_extra_hdr_fields,
211 'delayed-payload': self.do_delayad_payload, 211 'delayed-payload': self.do_delayad_payload,
212 'hdr-without-len': self.do_hdr_without_len, 212 'hdr-without-len': self.do_hdr_without_len,
213 'hdr-with-wrong-len': self.do_hdr_with_wrong_len, 213 'hdr-with-wrong-len': self.do_hdr_with_wrong_len,