aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_keycode.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:19:54 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:19:54 +0100
commitad148587dcf5244c2d2011dba339786c765c54c4 (patch)
treebdd914121cd326da2ed26679838878e3edffc841 /src/unittest/test_keycode.cpp
parent1145b05ea0bda87dc0827821385810eced08f774 (diff)
downloaddragonfireclient-ad148587dcf5244c2d2011dba339786c765c54c4.tar.xz
Make Lint Happy
Diffstat (limited to 'src/unittest/test_keycode.cpp')
-rw-r--r--src/unittest/test_keycode.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/unittest/test_keycode.cpp b/src/unittest/test_keycode.cpp
index 3813af949..f9ba568e0 100644
--- a/src/unittest/test_keycode.cpp
+++ b/src/unittest/test_keycode.cpp
@@ -23,7 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "exceptions.h"
#include "client/keycode.h"
-class TestKeycode : public TestBase {
+class TestKeycode : public TestBase
+{
public:
TestKeycode() { TestManager::registerTestModule(this); }
const char *getName() { return "TestKeycode"; }
@@ -114,7 +115,8 @@ void TestKeycode::testCompare()
UASSERT(!(KeyPress("5") == KeyPress("KEY_NUMPAD_5")));
// Matching char suffices
- // note: This is a real-world example, Irrlicht maps XK_equal to irr::KEY_PLUS on Linux
+ // note: This is a real-world example, Irrlicht maps XK_equal to irr::KEY_PLUS on
+ // Linux
irr::SEvent::SKeyInput in;
in.Key = irr::KEY_PLUS;
in.Char = L'=';