test: clang-format -i src/univalue/test/unitester.cpp
This commit is contained in:
1 file changed
+2
-2
@@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
static std::string rtrim(std::string s)
|
static std::string rtrim(std::string s)
|
||||||
{
|
{
|
||||||
s.erase(s.find_last_not_of(" \n\r\t")+1);
|
s.erase(s.find_last_not_of(" \n\r\t") + 1);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -185,7 +185,7 @@ void no_nul_test()
|
|||||||
assert(val.read({buf + 3, 7}));
|
assert(val.read({buf + 3, 7}));
|
||||||
}
|
}
|
||||||
|
|
||||||
int main (int argc, char *argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
for (const auto& [file, json] : tests) {
|
for (const auto& [file, json] : tests) {
|
||||||
runtest(std::string{file}, std::string{json});
|
runtest(std::string{file}, std::string{json});
|
||||||
|
|||||||
Reference in new issue
Block a user