diff options
Diffstat (limited to 'tests/stdlib_test.cpp')
-rw-r--r-- | tests/stdlib_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib_test.cpp b/tests/stdlib_test.cpp index c7b2ad89a..bb1fd7ce5 100644 --- a/tests/stdlib_test.cpp +++ b/tests/stdlib_test.cpp @@ -456,12 +456,12 @@ TEST_F(stdlib_DeathTest, getenv_after_main_thread_exits) { TEST(stdlib, mkostemp64) { MyTemporaryFile tf([](char* path) { return mkostemp64(path, O_CLOEXEC); }); - AssertCloseOnExec(tf.fd, true); + ASSERT_TRUE(CloseOnExec(tf.fd)); } TEST(stdlib, mkostemp) { MyTemporaryFile tf([](char* path) { return mkostemp(path, O_CLOEXEC); }); - AssertCloseOnExec(tf.fd, true); + ASSERT_TRUE(CloseOnExec(tf.fd)); } TEST(stdlib, mkstemp64) { |