Skip to content

Commit a7486d4

Browse files
committed
Dumb easy way to create a 4000 char long string :)
1 parent 86333ce commit a7486d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/schema/sqlserver_specific_schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
execute <<-STRINGDEFAULTSBIGVIEW
8181
CREATE VIEW string_defaults_big_view AS
8282
SELECT id, string_with_pretend_null_one as pretend_null
83-
/*#{4000.times.inject(''){|s,n|s<<'x'}}*/
83+
/*#{'x'*4000}}*/
8484
FROM string_defaults
8585
STRINGDEFAULTSBIGVIEW
8686

0 commit comments

Comments
 (0)