FlakeRef::to_string(): Check round trip
This commit is contained in:
@@ -194,6 +194,8 @@ std::string FlakeRef::to_string() const
|
||||
|
||||
else abort();
|
||||
|
||||
assert(FlakeRef(string) == *this);
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user