Skip to content

Hanging indent causes subsequent lines to indent incorrectly #492

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

Closed
markrian opened this issue Jun 17, 2016 · 2 comments
Closed

Hanging indent causes subsequent lines to indent incorrectly #492

markrian opened this issue Jun 17, 2016 · 2 comments

Comments

@markrian
Copy link

Using the latest commit on the develop branch (ea58033), hanging indents cause subsequent lines to be indented. That is, this happens:

expect(whatever).toBe(
    'some', 'parameters', 'here', 'whatever');
    expect(aThing).toHaveBeenCalledWith('foo');
    expect(anotherThing).toHaveBeenCalledWith('bar');

whereas I would expect this:

expect(whatever).toBe(
    'some', 'parameters', 'here', 'whatever');
expect(aThing).toHaveBeenCalledWith('foo');
expect(anotherThing).toHaveBeenCalledWith('bar');
@markrian
Copy link
Author

The most recent commit where this bug isn't present is be55064.

@bounceme
Copy link
Collaborator

bounceme commented Jun 18, 2016

both of your issues appear to be fixed in develop

@amadeus amadeus closed this as completed Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants