fail zero length field names
This commit is contained in:
1 parent
f24f565e58
commit
3714be4f16
2 files changed
+9
-3
No files matched your search
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user