1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 23:51:47 +02:00

dropEmptyInitThenConcatStringSep: Check that we don't drop...

... initial empty strings.

The tests pass, which is encouraging.
This commit is contained in:
Robert Hensing 2024-07-12 22:33:14 +02:00
parent 1a8defd06f
commit 79eb0adf9d
2 changed files with 12 additions and 0 deletions

View file

@ -41,6 +41,11 @@ public:
}
friend std::ostream & operator <<(std::ostream & os, const SymbolStr & symbol);
bool empty() const
{
return s->empty();
}
};
/**