Skip to content

Commit 4f847b6

Browse files
committed
feat: configure output format to verbose in unittest setup
1 parent 856eb2a commit 4f847b6

File tree

1 file changed

+4
-0
lines changed
  • source/fluentasserts/core

1 file changed

+4
-0
lines changed

source/fluentasserts/core/base.d

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ extern(C) void setupFluentHandler() {
503503
@trusted
504504
unittest {
505505
import core.exception;
506+
import fluentasserts.core.config : FluentAssertsConfig, OutputFormat;
507+
508+
FluentAssertsConfig.output.setFormat(OutputFormat.verbose);
509+
scope(exit) FluentAssertsConfig.output.setFormat(OutputFormat.verbose);
506510

507511
setupFluentHandler;
508512
scope(exit) core.exception.assertHandler = null;

0 commit comments

Comments
 (0)