mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
ANSI_YELLOW -> ANSI_WARNING
This commit is contained in:
parent
9bfdd556cf
commit
4ffda0af7c
7 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue