Skip to content

Commit b92a3a1

Browse files
author
Jason Duncan
committed
I believe this is 100%.
1 parent ae63ee3 commit b92a3a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/format-table-test.el

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,14 @@
160160
(alist-get 'ms format-table-format-alist))))
161161
(should (equal expected actual))))
162162

163+
(ert-deftest format-table-split-row-should-not-choke-on-shorter-than-expected-string ()
164+
(let ((expected '("" "" "" ""))
165+
(actual (format-table-split-row
166+
""
167+
'(13 12 21 10)
168+
(alist-get 'ms format-table-format-alist))))
169+
(should (equal expected actual))))
170+
163171
;;;;;;;;;;format-table-render-row-count;;;;;;;;;;;
164172

165173
(ert-deftest format-table-render-row-count-should-render-for-org ()

0 commit comments

Comments
 (0)