aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/FuzzedDataProvider.h
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2023-11-07 10:21:51 +0900
committerSjors Provoost <sjors@sprovoost.nl>2023-11-07 10:21:51 +0900
commit43de4d3630274e1287179c86896ed4c2d8b9eff4 (patch)
treef567f1894ed9761088904e4913455f2a4967b00d /src/test/fuzz/FuzzedDataProvider.h
parent0387ca0774be0fa05a81cb91f880c53a7ad5fade (diff)
doc: fix typos
As found by lint-spelling.py using codespell 2.2.6.
Diffstat (limited to 'src/test/fuzz/FuzzedDataProvider.h')
-rw-r--r--src/test/fuzz/FuzzedDataProvider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/FuzzedDataProvider.h b/src/test/fuzz/FuzzedDataProvider.h
index 8a8214bd99..5903ed8379 100644
--- a/src/test/fuzz/FuzzedDataProvider.h
+++ b/src/test/fuzz/FuzzedDataProvider.h
@@ -158,7 +158,7 @@ FuzzedDataProvider::ConsumeRandomLengthString(size_t max_length) {
// picking its contents.
std::string result;
- // Reserve the anticipated capaticity to prevent several reallocations.
+ // Reserve the anticipated capacity to prevent several reallocations.
result.reserve(std::min(max_length, remaining_bytes_));
for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) {
char next = ConvertUnsignedToSigned<char>(data_ptr_[0]);