domcode / rafflers

A collection of fun, funky, esoteric rafflers
26 stars 43 forks source link

Relax requirements for test #141

Open jeroenheijmans opened 7 years ago

jeroenheijmans commented 7 years ago

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.

lucasvanlierop commented 7 years ago

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