Revert "Revert "one more test.""

This reverts commit 0ca13d8ebd.
This commit is contained in:
Bryce Covert
2022-10-25 07:48:16 -07:00
parent 0ca13d8ebd
commit f0dc585978
2 changed files with 9 additions and 8 deletions

View File

@@ -127,7 +127,7 @@
(fn [[so-far a] next]
(let [new-a (+ a (or (:colspan next)
1))]
(if (> new-a n)
(if (<= new-a n)
[(conj so-far next) new-a]
[so-far new-a])))