From 0a8645df197181e4d424e090c9c7f42175b035cd Mon Sep 17 00:00:00 2001 From: Robert Lin Date: Mon, 11 Mar 2019 00:14:06 -0700 Subject: [PATCH] Remove test --- values_test.go | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/values_test.go b/values_test.go index e05dab37..ddaf5468 100644 --- a/values_test.go +++ b/values_test.go @@ -50,29 +50,6 @@ func TestDateTranscode(t *testing.T) { } } -func TestEnumTranscode(t *testing.T) { - t.Parallel() - - conn := mustConnect(t, *defaultConnConfig) - defer closeConn(t, conn) - - _, err := conn.Exec("create type some_type as enum ('hello-world', 'goodbye-world')") - if err != nil { - t.Fatalf("Unexpected failure in test setup: %v", err) - } - defer conn.Exec("drop type some_type") - - var out string - var actual = "hello-world" - err = conn.QueryRow("select $1::some_type", actual).Scan(&out) - if err != nil { - t.Fatalf("Unexpected failure on QueryRow Scan: %v", err) - } - if actual != out { - t.Errorf("Did not transcode enum successfully: %s is not %s", out, actual) - } -} - func TestTimestampTzTranscode(t *testing.T) { t.Parallel()