Skip to content

Commit be2baf0

Browse files
authored
Fix typos again (#611)
Found via `codespell -L froms` and `typos --format brief`
1 parent 8e19684 commit be2baf0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/ecto/adapters/sql.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ defmodule Ecto.Adapters.SQL do
411411
shared Repo options such as `:timeout`. Non built-in adapters may have specific behaviour and you should
412412
consult their documentation for more details.
413413
414-
For version compatiblity, please check your database's documentation:
414+
For version compatibility, please check your database's documentation:
415415
416416
* _Postgrex_: [PostgreSQL doc](https://www.postgresql.org/docs/current/sql-explain.html).
417417
* _MyXQL_: [MySQL doc](https://dev.mysql.com/doc/refman/8.0/en/explain.html).

lib/ecto/adapters/sql/sandbox.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
224224
# assertions
225225
end
226226
227-
By using `start_supervised!/1`, ExUnit guarantess the process finishes
227+
By using `start_supervised!/1`, ExUnit guarantees the process finishes
228228
before your test (the connection owner).
229229
230230
In some situations, however, the dynamic processes are directly started

lib/ecto/migration.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ defmodule Ecto.Migration do
822822
823823
If the database adapter supports several migration lock strategies, such as
824824
Postgrex, then review those strategies and consider using a strategy that
825-
utilizes advisory locks to faciliate running migrations one at a time even
825+
utilizes advisory locks to facilitate running migrations one at a time even
826826
across multiple nodes. For example:
827827
828828
### Config file (PostgreSQL)

test/ecto/adapters/postgres_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ defmodule Ecto.Adapters.PostgresTest do
14421442
~s{SELECT s0."x" FROM "schema" AS s0 WINDOW "w" AS (PARTITION BY s0."x", s0."z" ORDER BY s0."x")}
14431443
end
14441444

1445-
test "partition by ond order by over" do
1445+
test "partition by one order by over" do
14461446
query =
14471447
Schema
14481448
|> select([r], count(r.x) |> over(partition_by: [r.x, r.z], order_by: r.x))

0 commit comments

Comments
 (0)