aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2021-05-04 09:05:06 +1200
committerGitHub <noreply@github.com>2021-05-04 09:05:06 +1200
commitea3f53746c859c73c775bf11d17f8471d0fb59f2 (patch)
tree53e3ea1cf0a5f22786f0b7805bc638e41151500b /test
parent371bc3c5e7472d4f2fdffad0b39e7c9d27abf234 (diff)
downloadPROJ-ea3f53746c859c73c775bf11d17f8471d0fb59f2.tar.gz
PROJ-ea3f53746c859c73c775bf11d17f8471d0fb59f2.zip
DOC: configure and add spelling wordlist; fix typos, apply Sphinx syntax (#2705)
Diffstat (limited to 'test')
-rwxr-xr-xtest/postinstall/test_pkg-config.sh2
-rw-r--r--test/unit/test_io.cpp6
-rw-r--r--test/unit/test_operationfactory.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/test/postinstall/test_pkg-config.sh b/test/postinstall/test_pkg-config.sh
index 1c3866ec..619d66b0 100755
--- a/test/postinstall/test_pkg-config.sh
+++ b/test/postinstall/test_pkg-config.sh
@@ -11,7 +11,7 @@ echo "Running post-install tests with pkg-config"
prefix=$1
if [ -z "$prefix" ]; then
- echo "First positional argument to the the installed prefix is required"
+ echo "First positional argument to the installed prefix is required"
exit 1
fi
diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp
index 7775416f..95b9a4c3 100644
--- a/test/unit/test_io.cpp
+++ b/test/unit/test_io.cpp
@@ -10550,7 +10550,7 @@ TEST(io, createFromUserInput) {
ParsingException);
{
- // Completely non-sensical from a geodesic point of view...
+ // Completely nonsensical from a geodesic point of view...
auto obj = createFromUserInput("urn:ogc:def:crs,crs:EPSG::4978,"
"cs:EPSG::6500,"
"coordinateOperation:EPSG::16031",
@@ -10562,7 +10562,7 @@ TEST(io, createFromUserInput) {
EXPECT_EQ(crs->derivingConversion()->getEPSGCode(), 16031);
}
{
- // Completely non-sensical from a geodesic point of view...
+ // Completely nonsensical from a geodesic point of view...
auto obj = createFromUserInput("urn:ogc:def:crs,crs:EPSG::4979,"
"cs:EPSG::6423,"
"coordinateOperation:EPSG::16031",
@@ -10574,7 +10574,7 @@ TEST(io, createFromUserInput) {
EXPECT_EQ(crs->derivingConversion()->getEPSGCode(), 16031);
}
{
- // Completely non-sensical from a geodesic point of view...
+ // Completely nonsensical from a geodesic point of view...
auto obj = createFromUserInput("urn:ogc:def:crs,crs:EPSG::32631,"
"cs:EPSG::4400,"
"coordinateOperation:EPSG::16031",
diff --git a/test/unit/test_operationfactory.cpp b/test/unit/test_operationfactory.cpp
index 8ef59eb0..543db9ed 100644
--- a/test/unit/test_operationfactory.cpp
+++ b/test/unit/test_operationfactory.cpp
@@ -3037,7 +3037,7 @@ TEST(operation, transformation_VERTCON_to_PROJ_string) {
PropertyMap(), VerticalReferenceFrame::create(PropertyMap()),
VerticalCS::createGravityRelatedHeight(UnitOfMeasure::METRE));
- // Use of this type of transformation is a bit of non-sense here
+ // Use of this type of transformation is a bit of nonsense here
// since it should normally be used with NGVD29 and NAVD88 for VerticalCRS,
// and NAD27/NAD83 as horizontal CRS...
auto vtransformation = Transformation::createVERTCON(
@@ -3817,7 +3817,7 @@ TEST(operation, compoundCRS_to_compoundCRS_with_vertical_transform) {
PropertyMap(), VerticalReferenceFrame::create(PropertyMap()),
VerticalCS::createGravityRelatedHeight(UnitOfMeasure::METRE));
- // Use of this type of transformation is a bit of non-sense here
+ // Use of this type of transformation is a bit of nonsense here
// since it should normally be used with NGVD29 and NAVD88 for VerticalCRS,
// and NAD27/NAD83 as horizontal CRS...
auto vtransformation = Transformation::createVERTCON(