From d9af3760801c3baca5f8210a9e463623b9ac8538 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Sun, 13 Aug 2023 12:54:24 +0800 Subject: [PATCH] Fix typos Found via `codespell -S deps,doc` --- lib/ex_typesense.ex | 2 +- test/document_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ex_typesense.ex b/lib/ex_typesense.ex index a10f814..8d5bec3 100644 --- a/lib/ex_typesense.ex +++ b/lib/ex_typesense.ex @@ -73,7 +73,7 @@ defmodule ExTypesense do defdelegate upsert_document(document), to: ExTypesense.Document defdelegate index_multiple_documents(documents), to: ExTypesense.Document defdelegate update_multiple_documents(documents), to: ExTypesense.Document - defdelegate upsert_multiple_documents(docuemnts), to: ExTypesense.Document + defdelegate upsert_multiple_documents(documents), to: ExTypesense.Document # search defdelegate search(collection_name, params), to: ExTypesense.Search diff --git a/test/document_test.exs b/test/document_test.exs index ec5b805..2bf4cce 100644 --- a/test/document_test.exs +++ b/test/document_test.exs @@ -66,7 +66,7 @@ defmodule DocumentTest do end test "success: adding unknown field", %{document: document} do - document = Map.put(document, :unknown_field, "unkown_value") + document = Map.put(document, :unknown_field, "unknown_value") {:ok, collection} = ExTypesense.create_document(document) assert Map.has_key?(collection, "unknown_field") end