Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NeedBraces: lambda with no braces not reported when contents span multiple lines #3837
Example is taken from checkstyle at
@johnyleebrown This is how we test changes to the check.
We tell the results we are expecting and it verifies those violations come up.
If your changes cause no violations, than the expected results need to change so tests pass.
Looking at input file,
We cannot verify your changes until the PR as we need to be able to see what has changed and what regression will show us.
@romani How do we find the end of the line for the lambda inside the expression/statement?