forked from github/server
fix json export test
using features from new storage module version.
This commit is contained in:
parent
dd3de9a1d7
commit
7256b4c04f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
2
storage
2
storage
|
@ -1 +1 @@
|
|||
Subproject commit ce14333daa6f53d11b725dc347d734e3d513f793
|
||||
Subproject commit 38495edd9c2dfa544ab3b9b29e9ea254e57e06e1
|
Loading…
Reference in New Issue