summaryrefslogtreecommitdiff
path: root/test/normal
diff options
context:
space:
mode:
authorJacob Collins <jaco3collins@gmail.com>2021-02-05 11:35:31 -0500
committerJacob Collins <jaco3collins@gmail.com>2021-02-25 11:03:18 -0500
commit66787e3b53f571a925428a5c3ae5eedb07c73d89 (patch)
treed4ae44a014584123ee618b1b4daa0d89cfed233e /test/normal
parent9dfab2f1fb383478db4116a1cf63d81e1c53bd0d (diff)
Add test for selecting horizontal whitespace
Diffstat (limited to 'test/normal')
-rw-r--r--test/normal/select-horizontal-whitespace/cmd1
-rw-r--r--test/normal/select-horizontal-whitespace/in27
-rw-r--r--test/normal/select-horizontal-whitespace/kak_quoted_selections1
3 files changed, 29 insertions, 0 deletions
diff --git a/test/normal/select-horizontal-whitespace/cmd b/test/normal/select-horizontal-whitespace/cmd
new file mode 100644
index 00000000..3de6a67d
--- /dev/null
+++ b/test/normal/select-horizontal-whitespace/cmd
@@ -0,0 +1 @@
+s\h<ret>
diff --git a/test/normal/select-horizontal-whitespace/in b/test/normal/select-horizontal-whitespace/in
new file mode 100644
index 00000000..d6167985
--- /dev/null
+++ b/test/normal/select-horizontal-whitespace/in
@@ -0,0 +1,27 @@
+Should select all characters to the right of
+the colon except U+000B (vertical tab)
+%(
+U+0009:
+U+000B:
+U+000C:
+U+0020:
+U+00A0: 
+U+1680: 
+U+2000: 
+U+2001: 
+U+2002: 
+U+2003: 
+U+2004: 
+U+2005: 
+U+2006: 
+U+2007: 
+U+2008: 
+U+2009: 
+U+200A: 
+U+2028:

+U+2029:

+U+202F: 
+U+205F: 
+U+3000: 
+U+FEFF:
+)
diff --git a/test/normal/select-horizontal-whitespace/kak_quoted_selections b/test/normal/select-horizontal-whitespace/kak_quoted_selections
new file mode 100644
index 00000000..462d3ae5
--- /dev/null
+++ b/test/normal/select-horizontal-whitespace/kak_quoted_selections
@@ -0,0 +1 @@
+' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '
' '
' ' ' ' ' ' ' ''