diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-05-19 10:46:23 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-05-19 14:15:16 +1000 |
| commit | c9a8658671fd3f985bae9eaeddba8d2b9205573a (patch) | |
| tree | e799bb0c747d838cdb22f2e9a4fee777492b4efc /test | |
| parent | a64afd7f1a92a55572d3d63d2c45ab86da6a51b0 (diff) | |
Fix assert with window small enough so that no part of buffer is displayed
Fixes #2056
Diffstat (limited to 'test')
| -rw-r--r-- | test/regression/2056-assert-on-small-window/cmd | 1 | ||||
| -rw-r--r-- | test/regression/2056-assert-on-small-window/in | 10 | ||||
| -rw-r--r-- | test/regression/2056-assert-on-small-window/rc | 1 | ||||
| -rw-r--r-- | test/regression/2056-assert-on-small-window/ui-in | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/test/regression/2056-assert-on-small-window/cmd b/test/regression/2056-assert-on-small-window/cmd new file mode 100644 index 00000000..7f1441cd --- /dev/null +++ b/test/regression/2056-assert-on-small-window/cmd @@ -0,0 +1 @@ +<c-l> diff --git a/test/regression/2056-assert-on-small-window/in b/test/regression/2056-assert-on-small-window/in new file mode 100644 index 00000000..f00c965d --- /dev/null +++ b/test/regression/2056-assert-on-small-window/in @@ -0,0 +1,10 @@ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 diff --git a/test/regression/2056-assert-on-small-window/rc b/test/regression/2056-assert-on-small-window/rc new file mode 100644 index 00000000..d2d73e00 --- /dev/null +++ b/test/regression/2056-assert-on-small-window/rc @@ -0,0 +1 @@ +add-highlighter window number_lines diff --git a/test/regression/2056-assert-on-small-window/ui-in b/test/regression/2056-assert-on-small-window/ui-in new file mode 100644 index 00000000..35c9d9a6 --- /dev/null +++ b/test/regression/2056-assert-on-small-window/ui-in @@ -0,0 +1 @@ +{ "jsonrpc": "2.0", "method": "resize", "params": [ 5, 2 ] } |
