Skip to content

Commit

Permalink
Adjust PostgreSQL 17 spec for PostgreSQL 17.0
Browse files Browse the repository at this point in the history
17rc1 had this call return an array, but it looks like that was
considered an error and fixed in 17.0.
  • Loading branch information
jeremyevans committed Sep 26, 2024
1 parent fe1bc3f commit a21966c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/adapters/postgres_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand Down

0 comments on commit a21966c

Please sign in to comment.