Center aligned FigletText throws System.OutOfMemoryException exception when run with CommandAppTester #1737
Labels
area-Testing-Framework
Spectre.Console testing framework for developers.
bug
Something isn't working
needs triage
Information
Describe the bug
Center aligned FigletText throws
System.OutOfMemoryException
when run withCommandAppTester
.To Reproduce
Run the below, self-contained, unit test:
Expected behavior
Should output centered FigletText ie:
The following test that uses AnsiConsole executes correctly FYI:
Screenshots
Additional context
The following line in
CommandAppTester
is the culprit:Which overrides the
TestConsole
default of 80 lines:And causes the out of memory exception in
RenderableExtensions.cs
:Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: