You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2020/01/04 17:13:29 UTC

[couchdb] 02/06: fix: losen assertion

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

jan pushed a commit to branch multi/elixir-3
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit b76a8b6c76d91b43db729d31dd50d24ced819e34
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Sat Jan 4 17:54:08 2020 +0100

    fix: losen assertion
---
 test/elixir/test/utf8_test.exs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/elixir/test/utf8_test.exs b/test/elixir/test/utf8_test.exs
index 4153710..ad78080 100644
--- a/test/elixir/test/utf8_test.exs
+++ b/test/elixir/test/utf8_test.exs
@@ -24,7 +24,7 @@ defmodule UTF8Test do
     |> Enum.with_index()
     |> Enum.each(fn {string, index} ->
       status = Couch.post("/#{db_name}", query: [w: 3], body: %{"_id" => Integer.to_string(index), "text" => string}).status_code
-      assert status == 201
+      assert status in [201, 202]
     end)
 
     texts