summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-09-17 19:59:45 +0200
committerTycho <work.tycho+git@gmail.com>2014-09-17 19:59:45 +0200
commit73dfe1fe81a4b60dc8b67a0caaba16d83c56e136 (patch)
tree2238fb8e7e331d948d2903df8ee3dc972b1e91ef
parentMerge branch 'master' into redstoneTests (diff)
downloadcuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar
cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.gz
cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.bz2
cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.lz
cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.xz
cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.zst
cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.zip
Diffstat (limited to '')
-rw-r--r--tests/Redstone/creatable.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/Redstone/creatable.cpp b/tests/Redstone/creatable.cpp
index 07b800f9b..f26ebe85c 100644
--- a/tests/Redstone/creatable.cpp
+++ b/tests/Redstone/creatable.cpp
@@ -144,16 +144,17 @@ public:
}
};
+class MockChest
+{
+public:
+ BLOCKTYPE GetBlockType(void) const { return 0; }
+ int GetNumberOfPlayers(void) const { return 0; }
+};
int main(int argc, char** argv)
{
- class MockChest
- {
- public:
- BLOCKTYPE GetBlockType(void) const { return 0; }
- int GetNumberOfPlayers(void) const { return 0; }
- };
+
MockWorld World;