mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
Test: more specific error message for head
Sorry, I'm not sure how to implement this. So just a test change. And hopefully will be picked up by someone who is paying attention. A hero.
This commit is contained in:
parent
ab5a9cf2db
commit
ad296eae2a
1 changed files with 1 additions and 1 deletions
|
@ -712,7 +712,7 @@ namespace nix {
|
|||
|
||||
ASSERT_TRACE1("head []",
|
||||
Error,
|
||||
HintFmt("list index %d is out of bounds", 0));
|
||||
HintFmt("'head' called on an empty list"));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue