Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid negative
Cucumber::Ast::HasSteps#source_indent
(#926)
Some monkey patched implementations of `String#indent`, such as Active Support's, do not handle negative values (see issue #620). This behavior isn't strictly a bug in Cucumber but a lower bound of 0 in `#source_indent` would mitigate the occurrences of related errors.
- Loading branch information