aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_utils.cpp')
-rw-r--r--test/test_utils.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test_utils.cpp b/test/test_utils.cpp
index 33bab55..4056076 100644
--- a/test/test_utils.cpp
+++ b/test/test_utils.cpp
@@ -1,7 +1,7 @@
#include "gtest/gtest.h"
#include "cubeb_utils.h"
-void test_auto_array()
+TEST(utils, auto_array)
{
auto_array<uint32_t> array;
auto_array<uint32_t> array2(10);
@@ -70,7 +70,3 @@ void test_auto_array()
ASSERT_EQ(array.capacity(), 20u);
}
-TEST(utils, main)
-{
- test_auto_array();
-}