Closed justinbarclay closed 4 years ago
This is potential fix for https://github.com/eraserhd/parinfer-rust/issues/75
This also includes tests to make sure it returns sensible values and values that should correspond to the parinfer.js implementation of repeatString. Namely that negative numbers are equivalent to 0.
parinfer.js
repeatString
Closing this, as I think it is the wrong solution. continuing to discuss in #75
This is potential fix for https://github.com/eraserhd/parinfer-rust/issues/75
This also includes tests to make sure it returns sensible values and values that should correspond to the
parinfer.js
implementation ofrepeatString
. Namely that negative numbers are equivalent to 0.