@@ -307,9 +307,9 @@ describe('table', function()
307307 ' ┌──────┬────────────────────────────────────────┬──────────┐' ,
308308 ' │ ID │ Title │ Status │' ,
309309 ' ├──────┼────────────────────────────────────────┼──────────┤' ,
310- ' │ 1 │ This sentence is long enough to wrap a │ Open │' ,
311- ' │ │ cross several rendered table lines wit │ │' ,
312- ' │ │ hout needing a trailing blank line. │ │' ,
310+ ' │ 1 │ This sentence is long enough to wrap │ Open │' ,
311+ ' │ │ across several rendered table lines │ │' ,
312+ ' │ │ without needing a trailing blank line. │ │' ,
313313 ' └──────┴────────────────────────────────────────┴──────────┘' ,
314314 })
315315 end )
@@ -334,12 +334,13 @@ describe('table', function()
334334 ' │ Approach │ Allocations │ Performance │' ,
335335 ' ├────────────────────┼────────────────┼───────────────┤' ,
336336 ' │ format!() in loop │ N │ Slow │' ,
337- ' │ write!() to reused │ 1 │ Fast │' ,
338- ' │ buffer │ │ │' ,
339- ' │ push_str() + push( │ 1 │ Fastest │' ,
340- ' │ ) │ │ │' ,
341- ' │ Pre-sized String:: │ 1 (no realloc) │ Fast │' ,
342- ' │ with_capacity() │ │ │' ,
337+ ' │ write!() to │ 1 │ Fast │' ,
338+ ' │ reused buffer │ │ │' ,
339+ ' │ push_str() + │ 1 │ Fastest │' ,
340+ ' │ push() │ │ │' ,
341+ ' │ Pre-sized │ 1 (no realloc) │ Fast │' ,
342+ ' │ String::with_capac │ │ │' ,
343+ ' │ ity() │ │ │' ,
343344 ' └────────────────────┴────────────────┴───────────────┘' ,
344345 })
345346 end )
@@ -360,23 +361,25 @@ describe('table', function()
360361 ' ┌─────────┬────────────────────────┬────────────┬──────────┐' ,
361362 ' │ ID │ Title │ Severity │ Status │' ,
362363 ' ├─────────┼────────────────────────┼────────────┼──────────┤' ,
363- " │ T-1 │ Here's a long text tha │ High │ Open │" ,
364- ' │ │ t definitely causes wr │ │ │' ,
365- ' │ │ apping. My hands are t │ │ │' ,
366- " │ │ yping words. If you're │ │ │" ,
367- ' │ │ reading this then my │ │ │' ,
368- ' │ │ hands continued typing │ │ │' ,
369- ' │ │ words to make long en │ │ │' ,
370- ' │ │ ough a line for testin │ │ │' ,
371- ' │ │ g. Also you possess th │ │ │' ,
372- ' │ │ e highly coveted skill │ │ │' ,
373- ' │ │ of reading. Good for │ │ │' ,
374- " │ │ you. Sorry, didn't mea │ │ │" ,
375- ' │ │ n to sound so sarcasti │ │ │' ,
376- " │ │ c there. Honestly I'm │ │ │" ,
377- ' │ │ thrilled for you. I ha │ │ │' ,
378- ' │ │ ve just trouble showin │ │ │' ,
379- ' │ │ g it. │ │ │' ,
364+ " │ T-1 │ Here's a long text │ High │ Open │" ,
365+ ' │ │ that definitely │ │ │' ,
366+ ' │ │ causes wrapping. My │ │ │' ,
367+ ' │ │ hands are typing │ │ │' ,
368+ " │ │ words. If you're │ │ │" ,
369+ ' │ │ reading this then my │ │ │' ,
370+ ' │ │ hands continued │ │ │' ,
371+ ' │ │ typing words to make │ │ │' ,
372+ ' │ │ long enough a line │ │ │' ,
373+ ' │ │ for testing. Also you │ │ │' ,
374+ ' │ │ possess the highly │ │ │' ,
375+ ' │ │ coveted skill of │ │ │' ,
376+ ' │ │ reading. Good for │ │ │' ,
377+ " │ │ you. Sorry, didn't │ │ │" ,
378+ ' │ │ mean to sound so │ │ │' ,
379+ ' │ │ sarcastic there. │ │ │' ,
380+ " │ │ Honestly I'm thrilled │ │ │" ,
381+ ' │ │ for you. I have just │ │ │' ,
382+ ' │ │ trouble showing it. │ │ │' ,
380383 ' └─────────┴────────────────────────┴────────────┴──────────┘' ,
381384 })
382385 end )
0 commit comments