jorgenschaefer / emacs-buttercup

Behavior-Driven Emacs Lisp Testing
GNU General Public License v3.0
362 stars 44 forks source link

Buttercup gets stuck if :var not defined at beginning of body #223

Closed wyuenho closed 2 years ago

wyuenho commented 2 years ago

The document doesn't mention anything about :var :var* have to be the top of a describe block or that they are exclusive of each other. If a :var is given after a before-each, buttercup is just stuck.

snogge commented 2 years ago

Thank you for the report @wyuenho . Do you think this change will help? Please try it out if you can, otherwise I will merge this within a few days.