1
0
Fork 0
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:
Shahar "Dawn" Or 2024-12-07 06:37:30 +07:00
parent ab5a9cf2db
commit ad296eae2a

View file

@ -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"));
}