Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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