Update gtest-param-util.h

This commit is contained in:
Derek Brown 2022-06-14 21:34:40 -04:00 committed by GitHub
parent 364eeb5d89
commit 7754b4042f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -653,7 +653,7 @@ class ParameterizedTestSuiteInfo : public ParameterizedTestSuiteInfoBase {
typedef ::std::vector<InstantiationInfo> InstantiationContainer;
static bool IsValidParamName(const std::string& name) {
static constexpr validParamChars = "_-:/";
static constexpr validParamChars = "_-:/";
// Check for empty string
if (name.empty()) return false;