domcode/rafflers

Relax requirements for test

Opened this issue · 1 comments

The test.sh file checks the output of a raffler using:

if [[ "$winner" != *"Reinier Kip"* ]]; then

It would be nice if this was changed to e.g. a "StartsWith("Reinier Kip")" or even a regex of some sort, so that the rafflers can add some details (e.g. an explanation or addendum) to the winner.

Didn't get to fixing this, but a PR is welcome!