aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 10:38:10 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-14 10:42:29 +0200
commit4ffda0af7c645af88925eec589c819b4a51cdef6 (patch)
tree7cbcd9092de69d42f01a0b46ab2cb8727031563e /src/libutil/tests
parent9bfdd556cffb46bf0c8d8105c992e029d9c01dd3 (diff)
ANSI_YELLOW -> ANSI_WARNING
Diffstat (limited to 'src/libutil/tests')
-rw-r--r--src/libutil/tests/logging.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/tests/logging.cc b/src/libutil/tests/logging.cc
index d990e5499..cef3bd481 100644
--- a/src/libutil/tests/logging.cc
+++ b/src/libutil/tests/logging.cc
@@ -336,7 +336,7 @@ namespace nix {
ASSERT_STREQ(
hintfmt("only one arg %1% %2%", "fulfilled").str().c_str(),
- "only one arg " ANSI_YELLOW "fulfilled" ANSI_NORMAL " ");
+ "only one arg " ANSI_WARNING "fulfilled" ANSI_NORMAL " ");
}
@@ -344,7 +344,7 @@ namespace nix {
ASSERT_STREQ(
hintfmt("what about this %1% %2%", "%3%", "one", "two").str().c_str(),
- "what about this " ANSI_YELLOW "%3%" ANSI_NORMAL " " ANSI_YELLOW "one" ANSI_NORMAL);
+ "what about this " ANSI_WARNING "%3%" ANSI_NORMAL " " ANSI_YELLOW "one" ANSI_NORMAL);
}