Skip to content

Idempotency Failure: Empty Block with Only a Parameter Gets No Space Before Closing Brace #940

@nicholasdower

Description

@nicholasdower

Originally reported in #915

Commit: 95210d7

Input

→ View on rubyfmt.run

proc { |process|
}

Output

→ View on rubyfmt.run

proc { |process|}

Second Output

proc { |process| }

Expected behavior

The output should be stable.

Found in: eventmachine 1.2.7 (tests/test_processes.rb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions