You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/28 00:06:27 UTC

[GitHub] van-mronov commented on issue #1767: Check code format before running elixir test suite

van-mronov commented on issue #1767: Check code format before running elixir test suite
URL: https://github.com/apache/couchdb/pull/1767#issuecomment-442266610
 
 
   @wohali for formatted code it just outputs nothing and returns 0
   ```sh
   $ cd test/elixir/ && mix format --check-formatted
   $ echo $?
   0
   ```
   For current master branch (not formatted code): 
   ```sh
   $ cd test/elixir/ && mix format --check-formatted
   ** (Mix) mix format failed due to --check-formatted.
   The following files were not formatted:
   
     * test/replication_test.exs
     * test/reduce_test.exs
     * test/view_collation_test.exs
     * test/test_helper.exs
     * test/security_validation_test.exs
     * test/uuids_test.exs
     * test/rewrite_test.exs
     * test/basics_test.exs
     * test/lots_of_docs_test.exs
     * test/bulk_docs_test.exs
     * test/all_docs_test.exs
     * test/config_test.exs
     * test/conflicts_test.exs
     * lib/couch.ex
     * test/helper_test.exs
     * test/compact_test.exs
     * test/batch_save_test.exs
     * mix.exs
   
   $ echo $?
   1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services