summaryrefslogtreecommitdiff
path: root/test/nbttest.cpp
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-06-29 22:26:48 +0200
committerljfa-ag <ljfa-ag@web.de>2015-06-29 22:26:48 +0200
commit66b64d57b711dd4b3bf805bc4a325d9448378fe3 (patch)
tree6a7792155a994f6e59b9020a3c542ad2189f5bd1 /test/nbttest.cpp
parent69fcbd0fd080aa3e7522040c1abc6394e7a1e390 (diff)
downloadProject-Tick-66b64d57b711dd4b3bf805bc4a325d9448378fe3.tar.gz
Project-Tick-66b64d57b711dd4b3bf805bc4a325d9448378fe3.zip
Remove comparison operators for tag_string
Diffstat (limited to 'test/nbttest.cpp')
-rw-r--r--test/nbttest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/nbttest.cpp b/test/nbttest.cpp
index 7b47d42f8f..419421f1b8 100644
--- a/test/nbttest.cpp
+++ b/test/nbttest.cpp
@@ -61,18 +61,18 @@ void test_tag_string()
ASSERT(tag.get() == "foo");
std::string& ref = tag;
ref = "bar";
- ASSERT(tag == "bar");
- ASSERT(tag != "foo");
+ ASSERT(tag.get() == "bar");
+ ASSERT(tag.get() != "foo");
tag.set("baz");
ASSERT(ref == "baz");
tag = "quux";
ASSERT("quux" == static_cast<std::string>(tag));
std::string str("foo");
tag = str;
- ASSERT(tag == str);
+ ASSERT(tag.get() == str);
- ASSERT(tag_string(str) == "foo");
- ASSERT(tag_string() == "");
+ ASSERT(tag_string(str).get() == "foo");
+ ASSERT(tag_string().get() == "");
}
void test_tag_compound()