Skip to content

Commit c2422c6

Browse files
committed
remove comment
1 parent 48ed04e commit c2422c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/ecto/adapters/postgres_test.exs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,6 @@ defmodule Ecto.Adapters.PostgresTest do
863863
end
864864

865865
query = Schema |> select([r], fragment("?::integer", r.x and r.y)) |> plan()
866-
# Boolean operations inside fragments should be wrapped in parentheses
867-
# to ensure correct precedence with surrounding SQL
868866
assert all(query) == ~s{SELECT (s0."x" AND s0."y")::integer FROM "schema" AS s0}
869867

870868
query = Schema |> select([r], fragment("?::integer", r.x or r.y)) |> plan()

0 commit comments

Comments
 (0)