Module: check_mk
Branch: master
Commit: 319e2d04556f28aad7b081e6a35dde27ec7c2579
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=319e2d04556f28…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Apr 2 15:45:40 2019 +0200
Tiny style improvement.
Change-Id: I4101c58a034df63f2c00061c2127ffb526e774e0
---
livestatus/src/test/test_OffsetStringMacroColumn.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/livestatus/src/test/test_OffsetStringMacroColumn.cc
b/livestatus/src/test/test_OffsetStringMacroColumn.cc
index 08898b3..d52b003 100644
--- a/livestatus/src/test/test_OffsetStringMacroColumn.cc
+++ b/livestatus/src/test/test_OffsetStringMacroColumn.cc
@@ -134,7 +134,7 @@ TEST_F(OffsetStringMacroColumnTest, getValue_border_cases) {
set_host_notes("checking $HOSTNAME$...");
EXPECT_EQ("checking $HOSTNAME$...", expanded_host_notes());
- host_.notes = nullptr;
+ set_host_notes(nullptr);
EXPECT_EQ("", expanded_host_notes());
set_host_notes("");