diff options
author | Jan Lehnardt <jan@apache.org> | 2020-01-04 17:54:08 +0100 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2020-01-04 17:54:08 +0100 |
commit | b76a8b6c76d91b43db729d31dd50d24ced819e34 (patch) | |
tree | c2ffa741e02781cffeb1fb72d89a84b8797f2ff5 | |
parent | 9ea9fa01c8c4218a90eaf8dd74ec5e2f78613e08 (diff) | |
download | couchdb-b76a8b6c76d91b43db729d31dd50d24ced819e34.tar.gz |
fix: losen assertion
-rw-r--r-- | test/elixir/test/utf8_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/elixir/test/utf8_test.exs b/test/elixir/test/utf8_test.exs index 41537101e..ad78080ae 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 |