File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ class BigException < StandardError
283
283
284
284
context 'with a big message' do
285
285
# postgres complains with 15,826
286
- # mysql complains with 15,828 , so test for failure at that point
286
+ # mysql complains with 15,829 , so test for failure at that point
287
287
288
288
it 'squeezes just right one in' do
289
289
expect do
@@ -295,7 +295,7 @@ class BigException < StandardError
295
295
pg_error = /value too long for type character varying/
296
296
mysql_error = /Data too long for column 'cf_api_error'/
297
297
expect do
298
- pollable_job . error ( job , BigException . new ( message : 'x' * 15_828 ) )
298
+ pollable_job . error ( job , BigException . new ( message : 'x' * 15_829 ) )
299
299
end . to raise_error ( ::Sequel ::DatabaseError , /#{ pg_error } |#{ mysql_error } / )
300
300
end
301
301
end
You can’t perform that action at this time.
0 commit comments