Corrected spelling in test and exception messages

Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk>
This commit is contained in:
Dave Hickin
2015-07-08 18:19:53 +01:00
parent 4f2c51c480
commit 40952df965
3 changed files with 4 additions and 4 deletions

View File

@@ -575,14 +575,14 @@ static void testFieldAccess()
try{
fld->getAs<PVInt>("invalid");
testFail("missing requried exception");
testFail("missing required exception");
}catch(std::runtime_error& e){
testPass("caught expected exception: %s", e.what());
}
try{
fld->getAs<PVDouble>("test");
testFail("missing requried exception");
testFail("missing required exception");
}catch(std::runtime_error& e){
testPass("caught expected exception: %s", e.what());
}