summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyutyunkov Vyacheslav <tve@softmotions.com>2015-08-27 14:26:21 +0600
committerTyutyunkov Vyacheslav <tve@softmotions.com>2015-08-27 14:26:21 +0600
commit1efcafa51734523edcb3727f70b6acbc87d695ff (patch)
treee50833368691b406e6ca0d20f8bddbe54c4cfe73
parent1f92991631e1fe1bdd1724f27b79204abff3e534 (diff)
downloadejdb-1efcafa51734523edcb3727f70b6acbc87d695ff.tar.gz
ejdb-1efcafa51734523edcb3727f70b6acbc87d695ff.tar.bz2
ejdb-1efcafa51734523edcb3727f70b6acbc87d695ff.zip
#161 - minors
-rw-r--r--src/ejdb/tests/ejdbtest2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ejdb/tests/ejdbtest2.c b/src/ejdb/tests/ejdbtest2.c
index 40d2f8c..bdb7366 100644
--- a/src/ejdb/tests/ejdbtest2.c
+++ b/src/ejdb/tests/ejdbtest2.c
@@ -6188,14 +6188,14 @@ void testTicket161(void) {
bson_iterator it, sit1, sit2;
bson_type bt;
BSON_ITERATOR_FROM_BUFFER(&it, bsdata);
-
+
while ((bt = bson_iterator_next(&it)) != BSON_EOO) {
if (bt == BSON_OBJECT) {
break;
}
}
CU_ASSERT_EQUAL_FATAL(bt, BSON_OBJECT);
-
+
BSON_ITERATOR_SUBITERATOR(&it, &sit1);
bt = bson_iterator_next(&sit1);
CU_ASSERT_EQUAL(bt, BSON_OBJECT);
@@ -6305,7 +6305,7 @@ int main() {
(NULL == CU_add_test(pSuite, "testMetaInfo", testMetaInfo)) ||
(NULL == CU_add_test(pSuite, "testTicket148", testTicket148)) ||
(NULL == CU_add_test(pSuite, "testTicket156", testTicket156)) ||
- (NULL == CU_add_test(pSuite, "testTicket161", testTicket161))
+ (NULL == CU_add_test(pSuite, "testTicket161", testTicket161))
) {
CU_cleanup_registry();
return CU_get_error();