diff options
Diffstat (limited to 'tests/unit/libmain')
-rw-r--r-- | tests/unit/libmain/progress-bar.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/libmain/progress-bar.cc b/tests/unit/libmain/progress-bar.cc index e44a8b37e..2f2c7dc77 100644 --- a/tests/unit/libmain/progress-bar.cc +++ b/tests/unit/libmain/progress-bar.cc @@ -2,6 +2,7 @@ #include "eval.hh" #include "progress-bar.hh" +#include "loggers.hh" #include "logging.hh" #include "shared.hh" @@ -23,7 +24,7 @@ namespace nix initNix(); initGC(); - startProgressBar(); + setLogFormat(LogFormat::bar); ASSERT_NE(dynamic_cast<ProgressBar *>(logger), nullptr); ProgressBar & progressBar = dynamic_cast<ProgressBar &>(*logger); |