Don't abort in stdio.getdelim_invalid and stdio.getline_invalid.
Change-Id: Ie1aefed732f4bea77887bddd1be9a0578e247aa3
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp
index 2002928..bd3c548 100644
--- a/tests/stdio_test.cpp
+++ b/tests/stdio_test.cpp
@@ -85,6 +85,7 @@
TEST(stdio, getdelim_invalid) {
FILE* fp = tmpfile();
+ ASSERT_TRUE(fp != NULL);
char* buffer = NULL;
size_t buffer_length = 0;
@@ -153,6 +154,7 @@
TEST(stdio, getline_invalid) {
FILE* fp = tmpfile();
+ ASSERT_TRUE(fp != NULL);
char* buffer = NULL;
size_t buffer_length = 0;