Corrected spelling in test and exception messages
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk>
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user