fix json export test

using features from new storage module version.
This commit is contained in:
Enno Rehling 2014-03-13 23:59:26 -07:00
parent dd3de9a1d7
commit 7256b4c04f
2 changed files with 3 additions and 3 deletions

View File

@ -14,8 +14,8 @@ static void test_export(CuTest * tc) {
err = export_json(&out, EXPORT_REGIONS); err = export_json(&out, EXPORT_REGIONS);
CuAssertIntEquals(tc, 0, err); CuAssertIntEquals(tc, 0, err);
out.api->rewind(out.handle); out.api->rewind(out.handle);
out.api->readln(out.handle, buf, sizeof(buf)); out.api->read(out.handle, buf, sizeof(buf));
CuAssertStrEquals(tc, "{}", buf); CuAssertStrEquals(tc, "{\n}\n", buf);
mstream_done(&out); mstream_done(&out);
} }

@ -1 +1 @@
Subproject commit ce14333daa6f53d11b725dc347d734e3d513f793 Subproject commit 38495edd9c2dfa544ab3b9b29e9ea254e57e06e1