diff --git a/src/test/args-test.cpp b/src/test/args-test.cpp index 566aca5b9..51e2a9c5d 100644 --- a/src/test/args-test.cpp +++ b/src/test/args-test.cpp @@ -67,6 +67,13 @@ TEST(args_test, test3) EXPECT_EQ(pikaMemNow(), 0); } +TEST(args_test, buff) +{ + Args *buffs = New_args(NULL); + char *buff = args_getBuff(buffs, 256); + args_deinit(buffs); + EXPECT_EQ(pikaMemNow(), 0); +} TEST(args_test, print_int) {