Skip to content

Run the code formatter on ExUnit.Server #6652

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

Merged
merged 1 commit into from
Oct 9, 2017
Merged

Conversation

whatyouhide
Copy link
Member

@whatyouhide whatyouhide commented Oct 9, 2017

This PR is an example of what suggested in #6643. The steps I ran were:

  1. Chose a file at random with:

    $ bin/elixir scripts/random_file.exs
    Checking lib/ex_unit/lib/ex_unit/server.ex... jackpot!
    
    The file above needs formatting.
    Please format it with the command below:
    
       bin/elixir bin/mix format lib/ex_unit/lib/ex_unit/server.ex
    
    Once formatted, check for any faults and submit a pull request.
    For more information see: https://github.com/elixir-lang/elixir/issues/6643
    
    Have fun!
  2. Formatted it with $ bin/elixir bin/mix format lib/ex_unit/lib/ex_unit/server.ex

  3. Adjusted the result manually to make it look good, exactly like described in Format codebase files with the upcoming code formatter #6643.

@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

@josevalim josevalim deleted the al/format-exunit-server branch October 9, 2017 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants