diff options
Diffstat (limited to 'vim/bundle/vim-table-mode/t/fixtures/table')
12 files changed, 59 insertions, 0 deletions
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 | +|--------+---------| + |