summaryrefslogtreecommitdiff
path: root/tests/dumptest.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-11 07:10:31 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-11 07:10:31 (GMT)
commit18e97e0bd3f6bda4fdcd17de2a85173ba59b6b00 (patch)
tree327ec7c648e0f01a2673672ebe83c3524c971e19 /tests/dumptest.cc
parent9afeded46c0e9023002dc04ba6131adcb39762b1 (diff)
Fixed bug introduced by the new PolySet cache; string filtering done in the wrong place, refactored cache into separate class
Diffstat (limited to 'tests/dumptest.cc')
-rw-r--r--tests/dumptest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dumptest.cc b/tests/dumptest.cc
index 9af7154..65424b3 100644
--- a/tests/dumptest.cc
+++ b/tests/dumptest.cc
@@ -144,7 +144,7 @@ int main(int argc, char **argv)
string dumpstdstr = tree.getString(*root_node);
string dumpstdstr_cached = tree.getString(*root_node);
- if (dumpstdstr != dumpstdstr_cached) rc = 1;
+ assert(dumpstdstr == dumpstdstr_cached);
std::cout << dumpstdstr << "\n";
contact: Jan Huwald // Impressum