From 8e8c2fb46d418236918c0dbddad8e48ae9e4e20d Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 3 Dec 2022 19:23:24 +0100 Subject: [PATCH] Add tests for selection undo --- test/normal/selection-undo/redo/cmd | 1 + test/normal/selection-undo/redo/in | 4 ++++ test/normal/selection-undo/redo/out | 4 ++++ test/normal/selection-undo/redo/script | 2 ++ test/normal/selection-undo/undo/cmd | 1 + test/normal/selection-undo/undo/in | 4 ++++ test/normal/selection-undo/undo/out | 4 ++++ test/normal/selection-undo/undo/script | 2 ++ 8 files changed, 22 insertions(+) create mode 100644 test/normal/selection-undo/redo/cmd create mode 100644 test/normal/selection-undo/redo/in create mode 100644 test/normal/selection-undo/redo/out create mode 100644 test/normal/selection-undo/redo/script create mode 100644 test/normal/selection-undo/undo/cmd create mode 100644 test/normal/selection-undo/undo/in create mode 100644 test/normal/selection-undo/undo/out create mode 100644 test/normal/selection-undo/undo/script diff --git a/test/normal/selection-undo/redo/cmd b/test/normal/selection-undo/redo/cmd new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test/normal/selection-undo/redo/cmd @@ -0,0 +1 @@ + diff --git a/test/normal/selection-undo/redo/in b/test/normal/selection-undo/redo/in new file mode 100644 index 00000000..94ebaf90 --- /dev/null +++ b/test/normal/selection-undo/redo/in @@ -0,0 +1,4 @@ +1 +2 +3 +4 diff --git a/test/normal/selection-undo/redo/out b/test/normal/selection-undo/redo/out new file mode 100644 index 00000000..76bef247 --- /dev/null +++ b/test/normal/selection-undo/redo/out @@ -0,0 +1,4 @@ +1 +2 +here3 +4 diff --git a/test/normal/selection-undo/redo/script b/test/normal/selection-undo/redo/script new file mode 100644 index 00000000..c92d82d7 --- /dev/null +++ b/test/normal/selection-undo/redo/script @@ -0,0 +1,2 @@ +ui_out -ignore 4 +ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "2jjihere" ] }' diff --git a/test/normal/selection-undo/undo/cmd b/test/normal/selection-undo/undo/cmd new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test/normal/selection-undo/undo/cmd @@ -0,0 +1 @@ + diff --git a/test/normal/selection-undo/undo/in b/test/normal/selection-undo/undo/in new file mode 100644 index 00000000..94ebaf90 --- /dev/null +++ b/test/normal/selection-undo/undo/in @@ -0,0 +1,4 @@ +1 +2 +3 +4 diff --git a/test/normal/selection-undo/undo/out b/test/normal/selection-undo/undo/out new file mode 100644 index 00000000..00a7e5fd --- /dev/null +++ b/test/normal/selection-undo/undo/out @@ -0,0 +1,4 @@ +here1 +2 +3 +4 diff --git a/test/normal/selection-undo/undo/script b/test/normal/selection-undo/undo/script new file mode 100644 index 00000000..2b00d75e --- /dev/null +++ b/test/normal/selection-undo/undo/script @@ -0,0 +1,2 @@ +ui_out -ignore 4 +ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j2jihere" ] }'