From d2be30a8743acef88d18206bc6222eb329d59cb3 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Mon, 31 Oct 2022 06:29:03 +0800 Subject: [PATCH] Fix typos Found via `codespell -S c_src,deps` --- README.md | 2 +- lib/exqlite/connection.ex | 6 +++--- test/exqlite/sqlite3_test.exs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 55858817..6f398f47 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ An Elixir SQLite3 library. -If you are looking for the Ecto adapater, take a look at the +If you are looking for the Ecto adapter, take a look at the [Ecto SQLite3 library][ecto_sqlite3]. Documentation: https://hexdocs.pm/exqlite diff --git a/lib/exqlite/connection.ex b/lib/exqlite/connection.ex index ac9d9d50..ef1618bc 100644 --- a/lib/exqlite/connection.ex +++ b/lib/exqlite/connection.ex @@ -1,6 +1,6 @@ defmodule Exqlite.Connection do @moduledoc """ - This module imlements connection details as defined in DBProtocol. + This module implements connection details as defined in DBProtocol. ## Attributes @@ -110,7 +110,7 @@ defmodule Exqlite.Connection do `:incremental`. Depending on the database size, `:incremental` may be beneficial. * `:locking_mode` - Defaults to `:normal`. Allowed values are `:normal` or - `:exclusive`. See [sqlite documenation][1] for more information. + `:exclusive`. See [sqlite documentation][1] for more information. * `:secure_delete` - Defaults to `:off`. If enabled, it will cause SQLite3 to overwrite records that were deleted with zeros. * `:wal_auto_check_point` - Sets the write-ahead log auto-checkpoint @@ -125,7 +125,7 @@ defmodule Exqlite.Connection do * `:soft_heap_limit` - The size limit in bytes for the heap limit. * `:hard_heap_limit` - The size limit in bytes for the heap. - For more information about the options above, see [sqlite documenation][1] + For more information about the options above, see [sqlite documentation][1] [1]: https://www.sqlite.org/pragma.html """ diff --git a/test/exqlite/sqlite3_test.exs b/test/exqlite/sqlite3_test.exs index c120ee9d..780ebfee 100644 --- a/test/exqlite/sqlite3_test.exs +++ b/test/exqlite/sqlite3_test.exs @@ -19,7 +19,7 @@ defmodule Exqlite.Sqlite3Test do File.rm(path) end - test "creates database path on disk when non-existant" do + test "creates database path on disk when non-existent" do {:ok, path} = Temp.mkdir() {:ok, conn} = Sqlite3.open(path <> "/non_exist.db")