summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILYA Khlopotov <iilyak@apache.org>2019-06-27 10:35:05 +0000
committerILYA Khlopotov <iilyak@apache.org>2019-07-29 11:24:37 +0000
commitf33378b38e45629c5934e739835571fbbd28bdda (patch)
tree94a20a53495b53845be691ce97a89064fe77ffe3
parent29d484e45054c4b40f6b3a223298c8a31914f90d (diff)
downloadcouchdb-f33378b38e45629c5934e739835571fbbd28bdda.tar.gz
Fix credo complains for dreyfus
-rw-r--r--src/dreyfus/test/elixir/test/partition_search_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dreyfus/test/elixir/test/partition_search_test.exs b/src/dreyfus/test/elixir/test/partition_search_test.exs
index 052a41ad1..4400d7b7f 100644
--- a/src/dreyfus/test/elixir/test/partition_search_test.exs
+++ b/src/dreyfus/test/elixir/test/partition_search_test.exs
@@ -26,12 +26,12 @@ defmodule PartitionSearchTest do
end
def create_ddoc(db_name, opts \\ %{}) do
- indexFn = "function(doc) {\n if (doc.some) {\n index('some', doc.some);\n }\n}"
+ index_fn = "function(doc) {\n if (doc.some) {\n index('some', doc.some);\n }\n}"
default_ddoc = %{
indexes: %{
books: %{
analyzer: %{name: "standard"},
- index: indexFn
+ index: index_fn
}
}
}