diff options
author | alois31 <alois1@gmx-topmail.de> | 2024-07-02 14:12:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-07-02 14:12:07 +0000 |
commit | 24852355d8975dcc786ddc4d5853043a52e4c78c (patch) | |
tree | f97dd0189e0baa79f261dafd38644c59c9a42f44 /tests | |
parent | 865a3732faca16a79bf24982011adf100de04463 (diff) | |
parent | 0dd1d8ca1cdccfc620644a7f690ed35bcd2d1e74 (diff) |
Merge "tree-wide: unify progress bar inactive and paused states" into main
Diffstat (limited to 'tests')
-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); |