File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -143,17 +143,17 @@ class SQLServerRakeStructureDumpLoadTest < SQLServerRakeTest
143143
144144 _ ( filedata ) . wont_match %r{\A USE.*\z }
145145 _ ( filedata ) . wont_match %r{\A GO.*\z }
146- _ ( filedata ) . must_match %r{\[ email\] \s +nvarchar\( 4000\) }
147- _ ( filedata ) . must_match %r{\[ background1\] \s +nvarchar\( max\) }
148- _ ( filedata ) . must_match %r{\[ background2\] \s +text\s +}
146+ _ ( filedata ) . must_match %r{\[ ? email\] ? \s +nvarchar\( 4000\) }
147+ _ ( filedata ) . must_match %r{\[ ? background1\] ? \s +nvarchar\( max\) }
148+ _ ( filedata ) . must_match %r{\[ ? background2\] ? \s +text\s +}
149149 end
150150
151151 it "can load dumped structure" do
152152 skip "debug defncopy on windows later" if host_windows?
153153
154154 quietly { db_tasks . structure_dump configuration , filename }
155155
156- _ ( filedata ) . must_match %r{CREATE TABLE \[ dbo\] \. \[ users\] }
156+ _ ( filedata ) . must_match %r{CREATE TABLE \[ ? dbo\] ? \. \[ ? users\] ? }
157157 db_tasks . purge ( configuration )
158158 _ ( connection . tables ) . wont_include "users"
159159 db_tasks . load_schema db_config , :sql , filename
You can’t perform that action at this time.
0 commit comments