From 7482d117cc85523e840dff595134dcb9cdc62207 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 12 Apr 2017 10:48:52 +0100 Subject: [PATCH] Fix tests after addition of the set_cursor UI method --- test/highlight/regions/display | 1 + test/regression/638-highlight-codepoint-with-bracket/display | 1 + 2 files changed, 2 insertions(+) diff --git a/test/highlight/regions/display b/test/highlight/regions/display index 4a84dcbb..ee4ba80b 100644 --- a/test/highlight/regions/display +++ b/test/highlight/regions/display @@ -2,4 +2,5 @@ { "jsonrpc": "2.0", "method": "menu_hide", "params": [] } { "jsonrpc": "2.0", "method": "info_hide", "params": [] } { "jsonrpc": "2.0", "method": "draw_status", "params": [[], [{ "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": "out 1:1 " }, { "face": { "fg": "black", "bg": "yellow", "attributes": [] }, "contents": "" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " " }, { "face": { "fg": "blue", "bg": "default", "attributes": [] }, "contents": "1 sel" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " - unnamed0@[kak-tests]" }], { "fg": "cyan", "bg": "default", "attributes": [] }] } +{ "jsonrpc": "2.0", "method": "set_cursor", "params": ["buffer", { "line": 0, "column": 0 }] } { "jsonrpc": "2.0", "method": "refresh", "params": [true] } diff --git a/test/regression/638-highlight-codepoint-with-bracket/display b/test/regression/638-highlight-codepoint-with-bracket/display index 9406b8e0..95657ce2 100644 --- a/test/regression/638-highlight-codepoint-with-bracket/display +++ b/test/regression/638-highlight-codepoint-with-bracket/display @@ -2,4 +2,5 @@ { "jsonrpc": "2.0", "method": "menu_hide", "params": [] } { "jsonrpc": "2.0", "method": "info_hide", "params": [] } { "jsonrpc": "2.0", "method": "draw_status", "params": [[], [{ "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": "out 1:4 " }, { "face": { "fg": "black", "bg": "yellow", "attributes": [] }, "contents": "" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " " }, { "face": { "fg": "blue", "bg": "default", "attributes": [] }, "contents": "1 sel" }, { "face": { "fg": "default", "bg": "default", "attributes": [] }, "contents": " - unnamed0@[kak-tests]" }], { "fg": "cyan", "bg": "default", "attributes": [] }] } +{ "jsonrpc": "2.0", "method": "set_cursor", "params": ["buffer", { "line": 0, "column": 3 }] } { "jsonrpc": "2.0", "method": "refresh", "params": [true] }