rjbs / Number-Tolerant

perl library for numbers with built-in tolerances
3 stars 4 forks source link

reversed arguments in docs for Test::Tolerant::is_tol #3

Closed djerius closed 9 years ago

djerius commented 10 years ago

Test::Tolerant::is_tol() is documented as

is_tol($want, $have_spec, $comment);

with further docs mentioning $have_spec.

I'm pretty sure that should be

is_tol($have, $want_spec, $comment);

Thanks, Diab

rjbs commented 9 years ago

Thanks, that will be fixed in a release today!