From 18c030f5156c6e03ea0ef6a152323c2c583ac409 Mon Sep 17 00:00:00 2001 From: Greg Rychlewski Date: Wed, 6 Nov 2024 07:23:16 -0500 Subject: [PATCH] oops --- test/query_test.exs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/query_test.exs b/test/query_test.exs index 50c94d13..b75f9c27 100644 --- a/test/query_test.exs +++ b/test/query_test.exs @@ -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