aboutsummaryrefslogtreecommitdiff
path: root/src/test/ValueBrokerTest.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 21:51:30 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 21:51:30 +0100
commit8e72968e294cbc4ac6e9ff09bd94cde1775d735b (patch)
tree1790d90772a1cd37feff180a5dacfae33c305a68 /src/test/ValueBrokerTest.cpp
parent3a5a61399cea453c5fc25e3b999ef9a751fd4448 (diff)
nitpick #34
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);
}
-