mirror of
https://github.com/nlohmann/json.git
synced 2026-04-08 00:58:55 +00:00
✅ improve coverage
This commit is contained in:
@@ -58,14 +58,14 @@ class diagnostics_t
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
default: // LCOV_EXCL_LINE
|
||||
break; // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
|
||||
if (tokens.empty())
|
||||
{
|
||||
return "";
|
||||
return ""; // LCOV_EXCL_LINE
|
||||
}
|
||||
|
||||
return "(" + std::accumulate(tokens.rbegin(), tokens.rend(), std::string{},
|
||||
|
||||
Reference in New Issue
Block a user