From 014e7b31da70a567c53473f2ba934a465696e3af Mon Sep 17 00:00:00 2001 From: unex <63149623+UNEXENU@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:55:46 +0100 Subject: [PATCH] small fix --- test/BlankNodeManagerTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/BlankNodeManagerTest.cpp b/test/BlankNodeManagerTest.cpp index 70803bd3f0..e6386694b2 100644 --- a/test/BlankNodeManagerTest.cpp +++ b/test/BlankNodeManagerTest.cpp @@ -40,21 +40,21 @@ TEST(BlankNodeManager, LocalBlankNodeManagerGetID) { BlankNodeManager::LocalBlankNodeManager l(&bnm); // initially the LocalBlankNodeManager doesn't have any blocks - EXPECT_EQ(l.blocks_.size(), 0); + EXPECT_EQ(l.blocks_->size(), 0); // A new Block is allocated, if // no blocks are allocated yet uint64_t id = l.getId(); - EXPECT_EQ(l.blocks_.size(), 1); + EXPECT_EQ(l.blocks_->size(), 1); EXPECT_TRUE(l.containsBlankNodeIndex(id)); EXPECT_FALSE(l.containsBlankNodeIndex(id + 1)); EXPECT_FALSE(l.containsBlankNodeIndex(id - 1)); // or the ids of the last block are all used - l.blocks_.back().nextIdx_ = id + BlankNodeManager::blockSize_; + l.blocks_->back().nextIdx_ = id + BlankNodeManager::blockSize_; id = l.getId(); EXPECT_TRUE(l.containsBlankNodeIndex(id)); - EXPECT_EQ(l.blocks_.size(), 2); + EXPECT_EQ(l.blocks_->size(), 2); } // _____________________________________________________________________________