Skip to content

Commit

Permalink
Fix typos again (#611)
Browse files Browse the repository at this point in the history
Found via `codespell -L froms` and `typos --format brief`
  • Loading branch information
kianmeng committed May 24, 2024
1 parent 8e19684 commit be2baf0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ecto/adapters/sql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ defmodule Ecto.Adapters.SQL do
shared Repo options such as `:timeout`. Non built-in adapters may have specific behaviour and you should
consult their documentation for more details.
For version compatiblity, please check your database's documentation:
For version compatibility, please check your database's documentation:
* _Postgrex_: [PostgreSQL doc](https://www.postgresql.org/docs/current/sql-explain.html).
* _MyXQL_: [MySQL doc](https://dev.mysql.com/doc/refman/8.0/en/explain.html).
Expand Down
2 changes: 1 addition & 1 deletion lib/ecto/adapters/sql/sandbox.ex
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
# assertions
end
By using `start_supervised!/1`, ExUnit guarantess the process finishes
By using `start_supervised!/1`, ExUnit guarantees the process finishes
before your test (the connection owner).
In some situations, however, the dynamic processes are directly started
Expand Down
2 changes: 1 addition & 1 deletion lib/ecto/migration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ defmodule Ecto.Migration do
If the database adapter supports several migration lock strategies, such as
Postgrex, then review those strategies and consider using a strategy that
utilizes advisory locks to faciliate running migrations one at a time even
utilizes advisory locks to facilitate running migrations one at a time even
across multiple nodes. For example:
### Config file (PostgreSQL)
Expand Down
2 changes: 1 addition & 1 deletion test/ecto/adapters/postgres_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ defmodule Ecto.Adapters.PostgresTest do
~s{SELECT s0."x" FROM "schema" AS s0 WINDOW "w" AS (PARTITION BY s0."x", s0."z" ORDER BY s0."x")}
end

test "partition by ond order by over" do
test "partition by one order by over" do
query =
Schema
|> select([r], count(r.x) |> over(partition_by: [r.x, r.z], order_by: r.x))
Expand Down

0 comments on commit be2baf0

Please sign in to comment.