Skip to content

Commit bb6811e

Browse files
committed
Add another version
1 parent c89133b commit bb6811e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,4 +820,4 @@ DEPENDENCIES
820820
websocket-client-simple
821821

822822
BUNDLED WITH
823-
2.6.2
823+
2.6.9

activerecord/test/cases/adapters/postgresql/virtual_column_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_schema_dumping
120120
assert_match(/t\.virtual\s+"name_length",\s+type: :integer,\s+as: "length\(\(name\)::text\)", stored: true$/i, output)
121121
assert_match(/t\.virtual\s+"name_octet_length",\s+type: :integer,\s+as: "octet_length\(\(name\)::text\)", stored: true$/i, output)
122122
assert_match(/t\.virtual\s+"column2",\s+type: :integer,\s+as: "\(column1 \+ 1\)", stored: true$/i, output)
123-
if ActiveRecord::Base.lease_connection.database_version >= 18_000
123+
if ActiveRecord::Base.lease_connection.database_version >= 18_00_00
124124
assert_match(/t\.virtual\s+"column3",\s+type: :integer,\s+as: "\(column1 \+ 2\)", stored: false$/i, output)
125125
assert_match(/t\.virtual\s+"column4",\s+type: :integer,\s+as: "\(column1 \+ 3\)", stored: false$/i, output)
126126
end

0 commit comments

Comments
 (0)