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