From 40952df9659eae1c6cc8ad74fb5aefdf3347c7cc Mon Sep 17 00:00:00 2001 From: Dave Hickin Date: Wed, 8 Jul 2015 18:19:53 +0100 Subject: [PATCH] Corrected spelling in test and exception messages Signed-off-by: Dave Hickin --- src/factory/Compare.cpp | 2 +- testApp/misc/testSharedVector.cpp | 2 +- testApp/pv/testPVData.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/factory/Compare.cpp b/src/factory/Compare.cpp index cba132e..fd38134 100644 --- a/src/factory/Compare.cpp +++ b/src/factory/Compare.cpp @@ -62,7 +62,7 @@ bool operator==(const Field& a, const Field& b) return A==B; } default: - throw std::logic_error("Invalid Field type in comparision"); + throw std::logic_error("Invalid Field type in comparison"); } } diff --git a/testApp/misc/testSharedVector.cpp b/testApp/misc/testSharedVector.cpp index 54c1612..414e28a 100644 --- a/testApp/misc/testSharedVector.cpp +++ b/testApp/misc/testSharedVector.cpp @@ -356,7 +356,7 @@ static void testPush() static void testVoid() { - testDiag("Test vecter cast to/from void"); + testDiag("Test vector cast to/from void"); epics::pvData::shared_vector typed(4); diff --git a/testApp/pv/testPVData.cpp b/testApp/pv/testPVData.cpp index 1b54e29..035e5d5 100644 --- a/testApp/pv/testPVData.cpp +++ b/testApp/pv/testPVData.cpp @@ -575,14 +575,14 @@ static void testFieldAccess() try{ fld->getAs("invalid"); - testFail("missing requried exception"); + testFail("missing required exception"); }catch(std::runtime_error& e){ testPass("caught expected exception: %s", e.what()); } try{ fld->getAs("test"); - testFail("missing requried exception"); + testFail("missing required exception"); }catch(std::runtime_error& e){ testPass("caught expected exception: %s", e.what()); }