From 7256b4c04f095a6d73f51b3022471b3b51d52d85 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 13 Mar 2014 23:59:26 -0700 Subject: [PATCH] fix json export test using features from new storage module version. --- src/bindings_test.c | 4 ++-- storage | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bindings_test.c b/src/bindings_test.c index f9f535f5a..c1b378673 100644 --- a/src/bindings_test.c +++ b/src/bindings_test.c @@ -14,8 +14,8 @@ static void test_export(CuTest * tc) { err = export_json(&out, EXPORT_REGIONS); CuAssertIntEquals(tc, 0, err); out.api->rewind(out.handle); - out.api->readln(out.handle, buf, sizeof(buf)); - CuAssertStrEquals(tc, "{}", buf); + out.api->read(out.handle, buf, sizeof(buf)); + CuAssertStrEquals(tc, "{\n}\n", buf); mstream_done(&out); } diff --git a/storage b/storage index ce14333da..38495edd9 160000 --- a/storage +++ b/storage @@ -1 +1 @@ -Subproject commit ce14333daa6f53d11b725dc347d734e3d513f793 +Subproject commit 38495edd9c2dfa544ab3b9b29e9ea254e57e06e1