summaryrefslogtreecommitdiff
path: root/test/normal/codepoint-width
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-06-09 10:48:37 +0100
committerMaxime Coste <mawww@kakoune.org>2017-06-09 10:48:37 +0100
commitfb81b1bc86cf317cd7cc672a6059eed6f792260d (patch)
treeb7ca70777608e15ee962467c755562d087c9bd91 /test/normal/codepoint-width
parent242f951c84973467b7b08be233f81c0029710516 (diff)
Rename 'unit' test directory to 'normal' as they are the normal mode tests
Diffstat (limited to 'test/normal/codepoint-width')
-rw-r--r--test/normal/codepoint-width/tab-width/cmd1
-rwxr-xr-xtest/normal/codepoint-width/tab-width/enabled2
-rw-r--r--test/normal/codepoint-width/tab-width/in2
-rw-r--r--test/normal/codepoint-width/tab-width/selections1
-rw-r--r--test/normal/codepoint-width/vertical-movement/cmd1
-rwxr-xr-xtest/normal/codepoint-width/vertical-movement/enabled2
-rw-r--r--test/normal/codepoint-width/vertical-movement/in2
-rw-r--r--test/normal/codepoint-width/vertical-movement/selections1
8 files changed, 12 insertions, 0 deletions
diff --git a/test/normal/codepoint-width/tab-width/cmd b/test/normal/codepoint-width/tab-width/cmd
new file mode 100644
index 00000000..4c559f78
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/cmd
@@ -0,0 +1 @@
+j
diff --git a/test/normal/codepoint-width/tab-width/enabled b/test/normal/codepoint-width/tab-width/enabled
new file mode 100755
index 00000000..edc44250
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/enabled
@@ -0,0 +1,2 @@
+#!/bin/sh
+locale | grep LC_CTYPE | grep -qi 'utf-*8'
diff --git a/test/normal/codepoint-width/tab-width/in b/test/normal/codepoint-width/tab-width/in
new file mode 100644
index 00000000..9c911221
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/in
@@ -0,0 +1,2 @@
+一 %(二)
+1234567890
diff --git a/test/normal/codepoint-width/tab-width/selections b/test/normal/codepoint-width/tab-width/selections
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/test/normal/codepoint-width/tab-width/selections
@@ -0,0 +1 @@
+9
diff --git a/test/normal/codepoint-width/vertical-movement/cmd b/test/normal/codepoint-width/vertical-movement/cmd
new file mode 100644
index 00000000..b68fde2a
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/cmd
@@ -0,0 +1 @@
+k
diff --git a/test/normal/codepoint-width/vertical-movement/enabled b/test/normal/codepoint-width/vertical-movement/enabled
new file mode 100755
index 00000000..edc44250
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/enabled
@@ -0,0 +1,2 @@
+#!/bin/sh
+locale | grep LC_CTYPE | grep -qi 'utf-*8'
diff --git a/test/normal/codepoint-width/vertical-movement/in b/test/normal/codepoint-width/vertical-movement/in
new file mode 100644
index 00000000..9a4f1e62
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/in
@@ -0,0 +1,2 @@
+123456789012
+一%(二)三%(四)五六
diff --git a/test/normal/codepoint-width/vertical-movement/selections b/test/normal/codepoint-width/vertical-movement/selections
new file mode 100644
index 00000000..564e0714
--- /dev/null
+++ b/test/normal/codepoint-width/vertical-movement/selections
@@ -0,0 +1 @@
+3:7