mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
adapt unittests to new pcp context stuff
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
int main() {
|
||||
/* testing basic Buffer api */
|
||||
Buffer *test = buffer_new(16, "test");
|
||||
PCPCTX *ptx = ptx_new();
|
||||
|
||||
byte *a = ucmalloc(32);
|
||||
byte *b = ucmalloc(32);
|
||||
@@ -92,7 +93,7 @@ int main() {
|
||||
munmap(r, rs);
|
||||
fclose(RFD);
|
||||
|
||||
fatals_ifany();
|
||||
fatals_ifany(ptx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user