summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/constdb/tinycdb-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/components/constdb/tinycdb-test.cpp')
-rw-r--r--sca-cpp/trunk/components/constdb/tinycdb-test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-cpp/trunk/components/constdb/tinycdb-test.cpp b/sca-cpp/trunk/components/constdb/tinycdb-test.cpp
index 6cc9e9eabb..41bfe12772 100644
--- a/sca-cpp/trunk/components/constdb/tinycdb-test.cpp
+++ b/sca-cpp/trunk/components/constdb/tinycdb-test.cpp
@@ -40,6 +40,8 @@ const bool testTinyCDB() {
assert((get(k, cdb)) == value(string("AAA")));
assert(hasContent(put(k, string("aaa"), cdb)));
assert((get(k, cdb)) == value(string("aaa")));
+ assert(hasContent(patch(k, string("bbb"), cdb)));
+ assert((get(k, cdb)) == value(string("bbb")));
assert(hasContent(del(k, cdb)));
assert(!hasContent(get(k, cdb)));