From: adam Date: Wed, 17 Jul 2013 17:20:28 +0000 (+0700) Subject: #59 #72 X-Git-Tag: v1.2.12~272 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4c535971d5331485dfc548e841d005e9553a00a;p=platform%2Fupstream%2Fejdb.git #59 #72 --- diff --git a/tcejdb/testejdb/t2.c b/tcejdb/testejdb/t2.c index e6c3e3f..de4a371 100644 --- a/tcejdb/testejdb/t2.c +++ b/tcejdb/testejdb/t2.c @@ -4234,10 +4234,10 @@ void testMetaInfo() { CU_ASSERT_PTR_NOT_NULL_FATAL(meta); const char *metabsdata = bson_data(meta); CU_ASSERT_FALSE(bson_compare_string("dbt2", metabsdata, "file")); - CU_ASSERT_FALSE(bson_compare_string("contacts", metabsdata, "collections.0.name")); - CU_ASSERT_FALSE(bson_compare_string("dbt2_contacts", metabsdata, "collections.0.file")); - CU_ASSERT_FALSE(bson_compare_long(131071, metabsdata, "collections.0.options.buckets")); - CU_ASSERT_FALSE(bson_compare_long(8, metabsdata, "collections.0.records")); + CU_ASSERT_FALSE(bson_compare_string("contacts", metabsdata, "collections.1.name")); + CU_ASSERT_FALSE(bson_compare_string("dbt2_contacts", metabsdata, "collections.1.file")); + CU_ASSERT_FALSE(bson_compare_long(131071, metabsdata, "collections.1.options.buckets")); + CU_ASSERT_FALSE(bson_compare_long(8, metabsdata, "collections.1.records")); bson_del(meta); }