fail zero length field names

This commit is contained in:
Michael Davidsaver committed 2015-09-24 13:04:49 -04:00
1 parent f24f565e58
commit 3714be4f16
2 files changed
+9 -3

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ static void testCreatePVStructureWithInvalidName()
fieldNames,pvFields);
testFail("Creation of invalid field name '%s' was allowed", fieldNames[1].c_str());
} catch(std::invalid_argument& e) {
testDiag("Exception: \"%s\"", e.what());
testPass("Creation of invalid field name '%s' fails as expected", fieldNames[1].c_str());
}
}