X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/da5a7ac96f517e0fd6f886bc3fbe27156ca1f946:/test/table-format.vader..2ce54215a99b0a31154a468ad0aa56974c6fbefc:/.vim/bundle/vim-markdown/test/static/git-favicon.png?ds=sidebyside diff --git a/test/table-format.vader b/test/table-format.vader deleted file mode 100644 index 2fc06a3..0000000 --- a/test/table-format.vader +++ /dev/null @@ -1,44 +0,0 @@ -Before: - let &gdefault = 1 - -After: - let &gdefault = 0 - -Given markdown; -| normal |no space| 2 spaces || -| - |-| --- || -| normal |no space| 2 spaces || - -Execute (format unformatted table): - TableFormat - -Expect (table is formatted): - | normal | no space | 2 spaces | | - |--------|----------|----------|--| - | normal | no space | 2 spaces | | - -Given markdown; -| a | b | -|---|---| -| c | d | - -Execute (format well formatted table): - TableFormat - -Expect (table is not modified): - | a | b | - |---|---| - | c | d | - -Given markdown; -| left |right| center || -| :- | --: |:---:|:| -| left |right| center || - -Execute (format table with colons): - TableFormat - -Expect (preserve colons to align text): - | left | right | center | | - |:-----|------:|:------:|:--| - | left | right | center | |