From a21966c3df86188faf1a6aa9133827dedb6bfdf4 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 26 Sep 2024 10:55:48 -0700 Subject: [PATCH] Adjust PostgreSQL 17 spec for PostgreSQL 17.0 17rc1 had this call return an array, but it looks like that was considered an error and fixed in 17.0. --- spec/adapters/postgres_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/adapters/postgres_spec.rb b/spec/adapters/postgres_spec.rb index 4d120aa61..013819f26 100644 --- a/spec/adapters/postgres_spec.rb +++ b/spec/adapters/postgres_spec.rb @@ -4361,7 +4361,7 @@ def left_item_id @db.get(j.query('$.c', :wrapper=>true)).must_equal [[1, 2]] @db.get(j.query('$.c[*]', :wrapper=>true)).must_equal [1, 2] @db.get(j.query('$.n[1]', :wrapper=>true)).must_equal [[3]] - @db.get(j.query('$.a', :wrapper=>:conditional)).must_equal [1] + @db.get(j.query('$.a', :wrapper=>:conditional)).must_equal 1 @db.get(j.query('$.c[*]', :wrapper=>:conditional)).must_equal [1, 2] @db.get(j.query('$.n[1]', :wrapper=>:conditional)).must_equal [3] @db.get(j.query('$.s', returning: String)).must_equal '"t"'