Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-rychlewski committed Nov 6, 2024
1 parent c57a22e commit 18c030f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/query_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,10 @@ defmodule QueryTest do
assert [[[{1, "2"}]]] = query("SELECT ARRAY[(1, '2')::composite1]", [])
end

test "decode enum", context do
assert [["elixir"]] = query("SELECT 'elixir'::enum1", [])
end

@tag min_pg_version: "9.2"
test "decode range", context do
# These do not appear to match what is selected, but that's because
Expand Down

0 comments on commit 18c030f

Please sign in to comment.