summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-08-11 14:47:00 +0200
committerljfa-ag <ljfa-ag@web.de>2015-08-11 14:47:00 +0200
commit7c320c9c058d6f7e151860a29cb35b136011e955 (patch)
tree5b3cf304bd8f44959e98c3b45b0e733a84b56d93 /test
parenta830cf0ef509ad0b0145df4f0a01f4905e360eb7 (diff)
downloadProject-Tick-7c320c9c058d6f7e151860a29cb35b136011e955.tar.gz
Project-Tick-7c320c9c058d6f7e151860a29cb35b136011e955.zip
Add overload for value_initializer with nullptr
Diffstat (limited to 'test')
-rw-r--r--test/nbttest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/nbttest.cpp b/test/nbttest.cpp
index fd74995d67..7430a02770 100644
--- a/test/nbttest.cpp
+++ b/test/nbttest.cpp
@@ -284,6 +284,7 @@ void test_value()
val1 = val1;
val2 = val2;
ASSERT(!val1);
+ ASSERT(val1 == value_initializer(nullptr));
ASSERT(val2 == tag_int(21));
val3 = tag_short(2);