diff --git a/test/suite-filewatch.janet b/test/suite-filewatch.janet index 4981e106..ddd296a4 100644 --- a/test/suite-filewatch.janet +++ b/test/suite-filewatch.janet @@ -50,7 +50,9 @@ [] (assert (zero? (ev/count chan)) "channel check empty") (ev/sleep 0) # turn the event loop - (assert (zero? (ev/count chan)) "channel check empty")) + (assert (zero? (ev/count chan)) "channel check empty") + # Drain if not empty, help with failures after this + (while (pos? (ev/count chan)) (printf "extra: %p" (ev/take chan)))) (defn spit-file [dir name]