aboutsummaryrefslogtreecommitdiff
path: root/src/tests/common
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-11 22:10:38 -0500
committerLiam <byteslice@airmail.cc>2023-03-12 11:33:01 -0400
commit5be8a74b0cc4a256106b88a3765f9c2c49ade2f8 (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/tests/common
parent6f95e7487c3e42a7fe8e020e50123ab96af867d0 (diff)
general: fix spelling mistakes
Diffstat (limited to 'src/tests/common')
-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);
}