aboutsummaryrefslogtreecommitdiff
path: root/src/test/ValueBrokerTest.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 09:30:51 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-21 09:30:51 +0100
commite2f085c444a8b37af65816e10bf366e6860d25c2 (patch)
treecec8c3e5640f659478838534ad64b86502bc8e29 /src/test/ValueBrokerTest.cpp
parent9d66b6cfccd15a1600c30af5e744e8b0710eeae6 (diff)
parent1cc120a0031cfc19c35240da8390d9129b4d75a3 (diff)
merge `master` into `loek/util`
Diffstat (limited to 'src/test/ValueBrokerTest.cpp')
-rw-r--r--src/test/ValueBrokerTest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/ValueBrokerTest.cpp b/src/test/ValueBrokerTest.cpp
index 10a4654..e6bb058 100644
--- a/src/test/ValueBrokerTest.cpp
+++ b/src/test/ValueBrokerTest.cpp
@@ -13,7 +13,7 @@ public:
int write_count = 0;
int value = 0;
- ValueBroker<int> broker {
+ ValueBroker<int> broker{
[this](const int & target) -> void {
this->write_count++;
this->value = target;
@@ -49,7 +49,7 @@ TEST_F(ValueBrokerTest, ProxyWrite) {
EXPECT_EQ(write_count, 1);
}
-void dummy(int) { }
+void dummy(int) {}
TEST_F(ValueBrokerTest, ProxyRead) {
dummy(proxy);
EXPECT_EQ(read_count, 1);
@@ -61,4 +61,3 @@ TEST_F(ValueBrokerTest, ProxyReadWrite) {
ASSERT_EQ(read_count, 1);
ASSERT_EQ(write_count, 1);
}
-