aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@yahooinc.com>2023-06-19 10:27:09 +0000
committerHåvard Pettersen <havardpe@yahooinc.com>2023-06-19 10:27:09 +0000
commit9e1707cdc0e4e91f10289b000d767450b0a09726 (patch)
tree631a2149efac16adbe1ac40fa8896ba446438ba6 /vespalib
parentbc79f96ee8f867bdd1ddf4be756c6c24c96f9a14 (diff)
fix typo
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/tests/nexus/nexus_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/nexus/nexus_test.cpp b/vespalib/src/tests/nexus/nexus_test.cpp
index 8ed9a8f58cc..1073eab56b2 100644
--- a/vespalib/src/tests/nexus/nexus_test.cpp
+++ b/vespalib/src/tests/nexus/nexus_test.cpp
@@ -67,7 +67,7 @@ TEST(NexusTest, example_multi_threaded_unit_test) {
int a = 0;
int b = 0;
auto work = [&](Nexus &ctx) {
- EXPECT_EQ(ctx.num_threads(2));
+ EXPECT_EQ(ctx.num_threads(), 2);
if (ctx.thread_id() == 0) {
a = 5;
ctx.barrier();