purebred-mua / tasty-tmux

Terminal user acceptance testing via tmux
GNU Affero General Public License v3.0
6 stars 0 forks source link

Add condition constructor that takes arbitrary function #6

Open frasertweedale opened 5 years ago

frasertweedale commented 5 years ago

In case substring and regex are not enough, a user may wish to give an explicit String -> Bool as a condition. Add a constructor to Condition for this use case.