mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
FlakeRef::to_string(): Check round trip
This commit is contained in:
parent
6e984431dd
commit
6b77bfc28d
1 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,8 @@ std::string FlakeRef::to_string() const
|
|||
|
||||
else abort();
|
||||
|
||||
assert(FlakeRef(string) == *this);
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue