diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-10-01 14:12:45 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-10-01 14:12:45 +0200 |
| commit | 483a0e34401226b4f95104419186504f7dcfee56 (patch) | |
| tree | f98ede82ed3f8dd35990bd5c808d67a8c65719d9 | |
| parent | bf4ac04c73439395220bb0e6e1b648cb85bb8551 (diff) | |
| download | kernel-483a0e34401226b4f95104419186504f7dcfee56.tar.xz kernel-483a0e34401226b4f95104419186504f7dcfee56.zip | |
kstd: ring_buffer: fix const-overload tests
| -rw-r--r-- | libs/kstd/kstd/ring_buffer.tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/kstd/kstd/ring_buffer.tests.cpp b/libs/kstd/kstd/ring_buffer.tests.cpp index d2e4a84d..7f459734 100644 --- a/libs/kstd/kstd/ring_buffer.tests.cpp +++ b/libs/kstd/kstd/ring_buffer.tests.cpp @@ -221,9 +221,9 @@ SCENARIO("Ring Buffer element access", "[kstd][ring_buffer]") THEN("accessing the first 3 elements using operator[] returns 'a'") { - REQUIRE(buffer[0] == 'a'); - REQUIRE(buffer[1] == 'a'); - REQUIRE(buffer[2] == 'a'); + REQUIRE(ref[0] == 'a'); + REQUIRE(ref[1] == 'a'); + REQUIRE(ref[2] == 'a'); } } } |
