summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDelapouite <delapouite@gmail.com>2018-02-13 14:35:10 +0100
committerDelapouite <delapouite@gmail.com>2018-02-13 14:35:10 +0100
commitfccfc76e8935a3ce0cd89f6c03d2aae13b8af077 (patch)
tree2a112d31b68827df190d2a8748c67fb65fe190ed /test
parentc939c30135930ebe6dbf963649e81a732e0830af (diff)
Add trim_selections primitive
Diffstat (limited to 'test')
-rw-r--r--test/normal/trim/cmd1
-rw-r--r--test/normal/trim/in3
-rw-r--r--test/normal/trim/out3
-rw-r--r--test/normal/trim/table/cmd1
-rw-r--r--test/normal/trim/table/in4
-rw-r--r--test/normal/trim/table/selections1
6 files changed, 13 insertions, 0 deletions
diff --git a/test/normal/trim/cmd b/test/normal/trim/cmd
new file mode 100644
index 00000000..d7c8655d
--- /dev/null
+++ b/test/normal/trim/cmd
@@ -0,0 +1 @@
+%<a-s>_<a-">
diff --git a/test/normal/trim/in b/test/normal/trim/in
new file mode 100644
index 00000000..1310992b
--- /dev/null
+++ b/test/normal/trim/in
@@ -0,0 +1,3 @@
+line 1
+ line 2
+ line 3
diff --git a/test/normal/trim/out b/test/normal/trim/out
new file mode 100644
index 00000000..0be30260
--- /dev/null
+++ b/test/normal/trim/out
@@ -0,0 +1,3 @@
+line 3
+ line 1
+ line 2
diff --git a/test/normal/trim/table/cmd b/test/normal/trim/table/cmd
new file mode 100644
index 00000000..31354ec1
--- /dev/null
+++ b/test/normal/trim/table/cmd
@@ -0,0 +1 @@
+_
diff --git a/test/normal/trim/table/in b/test/normal/trim/table/in
new file mode 100644
index 00000000..78114048
--- /dev/null
+++ b/test/normal/trim/table/in
@@ -0,0 +1,4 @@
+| | | | |
+|:------|------:|:------:|----------------|
+|%(foo )|%( bar)|%( qux )|%( pop )%( hip )|
+%( kakoune )
diff --git a/test/normal/trim/table/selections b/test/normal/trim/table/selections
new file mode 100644
index 00000000..ed988a11
--- /dev/null
+++ b/test/normal/trim/table/selections
@@ -0,0 +1 @@
+foo:bar:qux:pop:hip:kakoune