Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes some of the tests by limiting the output of the ClangFormat helper function to between `line1` and `line2`. This is similar to what `clang_format#format` now returns. There are two problems left: 1. the number of lines returned by `clang_format#format` might not be equal to `line2 - line1`, i.e when it splits a line. 2. `clang_format#replace` now handles reidenting the lines correctly, so any tests that format a line that is indented will fail. Ref: rhysd#61
- Loading branch information