Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong indent in some methods invocation #293

Closed
clementdessoude opened this issue Nov 17, 2019 · 1 comment · Fixed by #404
Closed

Wrong indent in some methods invocation #293

clementdessoude opened this issue Nov 17, 2019 · 1 comment · Fixed by #404
Labels
area: bug 🐛 Something isn't working $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ good first issue Good for newcomers theme: Re-Writer $100 https://www.jhipster.tech/bug-bounties/

Comments

@clementdessoude
Copy link
Contributor

clementdessoude commented Nov 17, 2019

class IfStatements {

  void commentsIfLineComment() {
    assertThat(useraaaaaaaaaaojzapjzpozjapjzpoajzpozaaaaaaaaaaaMapperlaaaaaaaaaaaaaaaaaaaaaaaa).isEqualTo();

    l.assertThat(useraaaaaaaaaaojzapjzpozjapjzpoajzpozaaaaaaaaaaaMapperlaaaaaaaaaaaaaaaaaaaaaaaa).isEqualTo();

  }
}

is printed as:

class IfStatements {

  void commentsIfLineComment() {
    assertThat(    
        useraaaaaaaaaaojzapjzpozjapjzpoajzpozaaaaaaaaaaaMapperlaaaaaaaaaaaaaaaaaaaaaaaa
      )
      .isEqualTo();

    l
      .assertThat(
        useraaaaaaaaaaojzapjzpozjapjzpoajzpozaaaaaaaaaaaMapperlaaaaaaaaaaaaaaaaaaaaaaaa
      )
      .isEqualTo();

  }
}

The content in the first assert should have one indentation less

Related issues:
#261
PR: #255

@clementdessoude clementdessoude added area: bug 🐛 Something isn't working theme: Re-Writer good first issue Good for newcomers labels Nov 17, 2019
@pascalgrimaud pascalgrimaud added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/ labels Nov 18, 2019
@pascalgrimaud
Copy link
Member

Adding a bounty on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: bug 🐛 Something isn't working $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ good first issue Good for newcomers theme: Re-Writer $100 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants