aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 11:46:34 +0200
committerGitHub <noreply@github.com>2021-09-14 11:46:34 +0200
commita4ae601b44be6c0ca44e24047f83bf4e0323d82e (patch)
tree6ad1fe18314adf92e5e8f74de6abd6b0e2b03d43 /src/libutil/tests
parent16d4922dd2057e35ffb1b94ecd9e84d1876c41ba (diff)
parent58b5036c547bc2ad214e63fec5f322725fc63d67 (diff)
Merge pull request #5245 from edolstra/warnings
Change warning messages from yellow to magenta
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);
}