src/base/stats/info.test.cc
TEST(StatsInfoDeathTest, NameOtherCharacterSpecial)
{
    TestInfo info;
    ASSERT_ANY_THROW(info.setName("ab!de", false));
}
/** Test that the non-first characters do not accept special characters. */
Test that the non-first characters do not accept special characters.
Test that the non - first characters do not accept special characters .
TEST(StatsInfoDeathTest, NameOtherCharacterSpecial)
{
    TestInfo info;
    ASSERT_ANY_THROW(info.setName("ab!de", false));
}
TEST ( StatsInfoDeathTest , NameOtherCharacterSpecial ) { TestInfo info ; ASSERT_ANY_THROW ( info . setName ( " " , false ) ) ; }
Test that the non-first characters do not accept special characters.
Test that the non - first characters do not accept special characters .