forked from lix-project/lix
FlakeRef::to_string(): Check round trip
This commit is contained in:
parent
6e984431dd
commit
6b77bfc28d
|
@ -194,6 +194,8 @@ std::string FlakeRef::to_string() const
|
||||||
|
|
||||||
else abort();
|
else abort();
|
||||||
|
|
||||||
|
assert(FlakeRef(string) == *this);
|
||||||
|
|
||||||
return string;
|
return string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue