mirror of
https://github.com/google/googletest.git
synced 2026-02-07 10:19:53 +08:00
Update gtest-param-util.h
This commit is contained in:
parent
d547273268
commit
364eeb5d89
@ -652,9 +652,9 @@ class ParameterizedTestSuiteInfo : public ParameterizedTestSuiteInfoBase {
|
||||
};
|
||||
typedef ::std::vector<InstantiationInfo> InstantiationContainer;
|
||||
|
||||
static std::string validParamChars = "_-:/";
|
||||
|
||||
static bool IsValidParamName(const std::string& name) {
|
||||
static constexpr validParamChars = "_-:/";
|
||||
|
||||
// Check for empty string
|
||||
if (name.empty()) return false;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user