diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2013-02-11 05:47:58 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2013-02-11 05:47:58 +0000 |
commit | 5c0eab60028407c84e2fee6a4fa1fbc03716d1d2 (patch) | |
tree | 93dd132f653779348ed937f5c36a59c71c32fe3f /sca-cpp | |
parent | d08498ad60f84f8b265ae35f54e1b8f0416e8d2f (diff) |
Fix SQL search test case.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1444659 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp')
-rw-r--r-- | sca-cpp/trunk/components/sqldb/pgsql-test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-cpp/trunk/components/sqldb/pgsql-test.cpp b/sca-cpp/trunk/components/sqldb/pgsql-test.cpp index ec5d537b44..6b0b8fbae1 100644 --- a/sca-cpp/trunk/components/sqldb/pgsql-test.cpp +++ b/sca-cpp/trunk/components/sqldb/pgsql-test.cpp @@ -42,10 +42,10 @@ const bool testPGSql() { assert(hasContent(post(k, string("AAA"), pg))); assert(content(get(k, pg)) == value(string("AAA"))); - assert(cadr<value>(car<value>(content(get(lk, pg)))) == value(string("AAA"))); - assert(cadr<value>(car<value>(content(get(rx, pg)))) == value(string("AAA"))); - assert(cadr<value>(car<value>(content(get(ts, pg)))) == value(string("AAA"))); - assert(cadr<value>(car<value>(content(get(rxts, pg)))) == value(string("AAA"))); + assert(car<value>(content(get(lk, pg))) == value(string("AAA"))); + assert(car<value>(content(get(rx, pg))) == value(string("AAA"))); + assert(car<value>(content(get(ts, pg))) == value(string("AAA"))); + assert(car<value>(content(get(rxts, pg))) == value(string("AAA"))); assert(hasContent(put(k, string("aaa"), pg))); assert(content(get(k, pg)) == value(string("aaa"))); |