diff options
author | Sean Kahler <itsbattledash@gmail.com> | 2022-08-04 17:18:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-04 19:50:59 (GMT) |
commit | e0d3e6e147acfec93351c4ca719777677fc835ba (patch) | |
tree | c21049d58379c38e26f8d58a893153ca13a80609 /Source/cmStringCommand.cxx | |
parent | e95059c867c1ec25f23aa48f9fe4dc8330e25879 (diff) | |
download | CMake-e0d3e6e147acfec93351c4ca719777677fc835ba.zip CMake-e0d3e6e147acfec93351c4ca719777677fc835ba.tar.gz CMake-e0d3e6e147acfec93351c4ca719777677fc835ba.tar.bz2 |
string(JSON): Fix typo in error message
`s/then/than/` in a comparison.
Diffstat (limited to 'Source/cmStringCommand.cxx')
-rw-r--r-- | Source/cmStringCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx index fe311d1..c12d1fe 100644 --- a/Source/cmStringCommand.cxx +++ b/Source/cmStringCommand.cxx @@ -1014,7 +1014,7 @@ int ParseIndex( Json::ArrayIndex index = static_cast<Json::ArrayIndex>(lindex); if (index >= max) { cmAlphaNum sizeStr{ max }; - throw json_error({ "expected an index less then "_s, sizeStr.View(), + throw json_error({ "expected an index less than "_s, sizeStr.View(), " got '"_s, str, "'"_s }, progress); } |