aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-03-12 21:59:46 -0400
committerGitHub <noreply@github.com>2023-03-12 21:59:46 -0400
commit54c359d1e3915653ce07a26e0e574aca5a331cb1 (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/tests
parent49643d8134629e58d564961f4416bb434908f686 (diff)
parent600f325d87e42f856da58c42a5280f098ebb6e8c (diff)
Merge pull request #9942 from liamwhite/spelingmainline-0-1369
general: use codespell to identify spelling mistakes
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/common/ring_buffer.cpp2
-rw-r--r--src/tests/common/scratch_buffer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/common/ring_buffer.cpp b/src/tests/common/ring_buffer.cpp
index 7dee988c8d..e85f9977b5 100644
--- a/src/tests/common/ring_buffer.cpp
+++ b/src/tests/common/ring_buffer.cpp
@@ -52,7 +52,7 @@ TEST_CASE("RingBuffer: Basic Tests", "[common]") {
REQUIRE(buf.Size() == 1U);
- // Pushing more values than space available should partially suceed.
+ // Pushing more values than space available should partially succeed.
{
std::vector<char> to_push(6);
std::iota(to_push.begin(), to_push.end(), 88);
diff --git a/src/tests/common/scratch_buffer.cpp b/src/tests/common/scratch_buffer.cpp
index 132f139fa8..26e4017603 100644
--- a/src/tests/common/scratch_buffer.cpp
+++ b/src/tests/common/scratch_buffer.cpp
@@ -191,7 +191,7 @@ TEST_CASE("ScratchBuffer: Span Writes", "[common]") {
for (size_t i = 0; i < buf_span.size(); ++i) {
const auto new_value = static_cast<u8>(i + 1U);
- // Writes to a span of the scratch buffer will propogate to the buffer itself
+ // Writes to a span of the scratch buffer will propagate to the buffer itself
buf_span[i] = new_value;
REQUIRE(buf[i] == new_value);
}