This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch rebase/access-2023
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 6f1e0beebfa2517470aad2e440684d030772a1d4
Author: Jan Lehnardt <[email protected]>
AuthorDate: Sat Jul 8 15:45:17 2023 +0200

    chore: undo unwanted ws changes
---
 src/couch/test/eunit/couchdb_update_conflicts_tests.erl | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/couch/test/eunit/couchdb_update_conflicts_tests.erl 
b/src/couch/test/eunit/couchdb_update_conflicts_tests.erl
index defe7d65d..13230bae5 100644
--- a/src/couch/test/eunit/couchdb_update_conflicts_tests.erl
+++ b/src/couch/test/eunit/couchdb_update_conflicts_tests.erl
@@ -68,7 +68,7 @@ concurrent_updates() ->
             fun setup/1,
             fun teardown/2,
             [
-               {NumClients, fun should_concurrently_update_doc/2}
+              {NumClients, fun should_concurrently_update_doc/2}
              || NumClients <- ?NUM_CLIENTS
             ]
         }
@@ -336,11 +336,12 @@ spawn_client(DbName, Doc) ->
             go -> ok
         end,
         erlang:yield(),
-        Result = try
-             couch_db:update_doc(Db, Doc, [])
-        catch
-            _:Error ->
-                Error
+        Result =
+            try
+                 couch_db:update_doc(Db, Doc, [])
+            catch
+                _:Error ->
+                    Error
         end,
         ok = couch_db:close(Db),
         exit(Result)

Reply via email to