aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-table-mode/t/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'vim/bundle/vim-table-mode/t/fixtures')
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/align/simple_after.txt2
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/align/simple_before.txt2
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/align/unicode_after.txt2
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/align/unicode_before.txt2
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/cell/sample.txt2
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/formula/formula.txt7
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/formula/sample.txt7
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/sample.txt4
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample.txt4
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header.txt3
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header_unicode.txt9
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_after.txt4
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_before.txt4
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_after.txt8
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_before.txt8
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_after.txt2
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_before.txt2
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_after.txt4
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_before.txt4
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/table/sample_with_header.txt7
-rw-r--r--vim/bundle/vim-table-mode/t/fixtures/tableize.txt4
21 files changed, 91 insertions, 0 deletions
diff --git a/vim/bundle/vim-table-mode/t/fixtures/align/simple_after.txt b/vim/bundle/vim-table-mode/t/fixtures/align/simple_after.txt
new file mode 100644
index 0000000..ed96f07
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/align/simple_after.txt
@@ -0,0 +1,2 @@
+| This | is a | table |
+| This | is also | a table |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/align/simple_before.txt b/vim/bundle/vim-table-mode/t/fixtures/align/simple_before.txt
new file mode 100644
index 0000000..b483ea5
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/align/simple_before.txt
@@ -0,0 +1,2 @@
+|This|is a|table|
+|This|is also|a table|
diff --git a/vim/bundle/vim-table-mode/t/fixtures/align/unicode_after.txt b/vim/bundle/vim-table-mode/t/fixtures/align/unicode_after.txt
new file mode 100644
index 0000000..8778914
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/align/unicode_after.txt
@@ -0,0 +1,2 @@
+| This | is 測試 | table |
+| This | is also | a table |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/align/unicode_before.txt b/vim/bundle/vim-table-mode/t/fixtures/align/unicode_before.txt
new file mode 100644
index 0000000..3edd654
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/align/unicode_before.txt
@@ -0,0 +1,2 @@
+| This | is 測試 | table |
+| This | is also | a table |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/cell/sample.txt b/vim/bundle/vim-table-mode/t/fixtures/cell/sample.txt
new file mode 100644
index 0000000..9e670d5
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/cell/sample.txt
@@ -0,0 +1,2 @@
+| 1 | 2 |
+| 3 | 4 |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/formula/formula.txt b/vim/bundle/vim-table-mode/t/fixtures/formula/formula.txt
new file mode 100644
index 0000000..ab2df91
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/formula/formula.txt
@@ -0,0 +1,7 @@
+| Item | Cost |
+|----------+-------|
+| Bread | 20 |
+| Tomatoes | 5 |
+| Pasta | 100 |
+| Total | 0 |
+/* tmf: $4,2=Sum(1:-1) */
diff --git a/vim/bundle/vim-table-mode/t/fixtures/formula/sample.txt b/vim/bundle/vim-table-mode/t/fixtures/formula/sample.txt
new file mode 100644
index 0000000..2920bbc
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/formula/sample.txt
@@ -0,0 +1,7 @@
+| Item | Cost |
+|----------+------|
+| Bread | 20 |
+| Tomatoes | 5 |
+| Pasta | 100 |
+| Total | |
+| Test | |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/sample.txt b/vim/bundle/vim-table-mode/t/fixtures/sample.txt
new file mode 100644
index 0000000..e447226
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/sample.txt
@@ -0,0 +1,4 @@
+
+| test11 | test12 |
+| test21 | test22 |
+
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample.txt
new file mode 100644
index 0000000..e447226
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample.txt
@@ -0,0 +1,4 @@
+
+| test11 | test12 |
+| test21 | test22 |
+
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header.txt
new file mode 100644
index 0000000..75f8f25
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header.txt
@@ -0,0 +1,3 @@
+| test11 | test12 |
+
+| test21 | test22 |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header_unicode.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header_unicode.txt
new file mode 100644
index 0000000..7b4e02a
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_for_header_unicode.txt
@@ -0,0 +1,9 @@
+
+| abc | 测试长度 | 长测试 |
+
+| 长 | 测试测试测试测试 | 测试测试 |
+
+| 测试测试 | 测试 | 测试测测试 |
+
+| 测试测试测试 | 测试测试 | 测试 |
+
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_after.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_after.txt
new file mode 100644
index 0000000..e4362a1
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_after.txt
@@ -0,0 +1,4 @@
+| S. No | Title | Message |
+|-------+:------+:-------:|
+| 1 | t1 | msg1 |
+| 2 | t2 | msg2 |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_before.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_before.txt
new file mode 100644
index 0000000..1f65bfd
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_before.txt
@@ -0,0 +1,4 @@
+|S. No|Title|Message|
+|-----+:----+:-----:|
+|1|t1|msg1|
+|2|t2|msg2|
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_after.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_after.txt
new file mode 100644
index 0000000..4c70b01
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_after.txt
@@ -0,0 +1,8 @@
+|--------------+------------------+------------|
+| 测试测试 | 测试长度 | 长测试 |
+|--------------+:----------------:+-----------:|
+| abc | 测试长度 | 长测试 |
+| 长 | 测试测试测试测试 | 测试测试 |
+| 测试测试 | 测试 | 测试测测试 |
+| 测试测试测试 | 测试测试 | 测试 |
+|--------------+------------------+------------|
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_before.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_before.txt
new file mode 100644
index 0000000..67bf1db
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_header_realign_unicode_before.txt
@@ -0,0 +1,8 @@
+|--------+--------+------|
+|测试测试|测试长度|长测试|
+|--------+:------:+-----:|
+|abc|测试长度|长测试|
+|长|测试测试测试测试|测试测试|
+|测试测试|测试|测试测测试|
+|测试测试测试|测试测试|测试|
+|------------+--------+----|
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_after.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_after.txt
new file mode 100644
index 0000000..e7fd9e1
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_after.txt
@@ -0,0 +1,2 @@
+| test11 | test12 |
+| test21 | test22 |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_before.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_before.txt
new file mode 100644
index 0000000..d1b3499
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_before.txt
@@ -0,0 +1,2 @@
+|test11|test12|
+|test21|test22|
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_after.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_after.txt
new file mode 100644
index 0000000..b479b24
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_after.txt
@@ -0,0 +1,4 @@
+| abc | 测试长度 | 长测试 |
+| 长 | 测试测试测试测试 | 测试测试 |
+| 测试测试 | 测试 | 测试测测试 |
+| 测试测试测试 | 测试测试 | 测试 |
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_before.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_before.txt
new file mode 100644
index 0000000..8c3124f
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_realign_unicode_before.txt
@@ -0,0 +1,4 @@
+|abc|测试长度|长测试|
+|长|测试测试测试测试|测试测试|
+|测试测试|测试|测试测测试|
+|测试测试测试|测试测试|测试|
diff --git a/vim/bundle/vim-table-mode/t/fixtures/table/sample_with_header.txt b/vim/bundle/vim-table-mode/t/fixtures/table/sample_with_header.txt
new file mode 100644
index 0000000..9213e7f
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/table/sample_with_header.txt
@@ -0,0 +1,7 @@
+|--------+---------|
+| Title | Message |
+|--------+---------|
+| test11 | test12 |
+| test21 | test22 |
+|--------+---------|
+
diff --git a/vim/bundle/vim-table-mode/t/fixtures/tableize.txt b/vim/bundle/vim-table-mode/t/fixtures/tableize.txt
new file mode 100644
index 0000000..ee1cc7a
--- /dev/null
+++ b/vim/bundle/vim-table-mode/t/fixtures/tableize.txt
@@ -0,0 +1,4 @@
+
+asd,asd;asd,asd
+asd,asd;asd,asd
+