aboutsummaryrefslogtreecommitdiff
path: root/src/unittest
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2019-02-15 12:27:29 +0100
committerLoïc Blot <loic.blot@unix-experience.fr>2019-02-15 12:27:29 +0100
commit3dafc007a95ae89904e0e92dc86ed27205de05c5 (patch)
treeb018acb3673c14ace33b55198ca41b29c1d3c930 /src/unittest
parent88c68ce8ec79bd5ce60d11fb4a09df1adc720d2f (diff)
downloadminetest-3dafc007a95ae89904e0e92dc86ed27205de05c5.tar.gz
minetest-3dafc007a95ae89904e0e92dc86ed27205de05c5.tar.bz2
minetest-3dafc007a95ae89904e0e92dc86ed27205de05c5.zip
LINT fix
Diffstat (limited to 'src/unittest')
-rw-r--r--src/unittest/test_address.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/unittest/test_address.cpp b/src/unittest/test_address.cpp
index 000a648f1..35d4effb6 100644
--- a/src/unittest/test_address.cpp
+++ b/src/unittest/test_address.cpp
@@ -23,12 +23,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h"
#include "network/socket.h"
-class TestAddress : public TestBase {
+class TestAddress : public TestBase
+{
public:
- TestAddress()
- {
- TestManager::registerTestModule(this);
- }
+ TestAddress() { TestManager::registerTestModule(this); }
const char *getName() { return "TestAddress"; }