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