aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_device_changed_callback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_device_changed_callback.cpp b/test/test_device_changed_callback.cpp
index 607a4c9..abc92a6 100644
--- a/test/test_device_changed_callback.cpp
+++ b/test/test_device_changed_callback.cpp
@@ -76,7 +76,7 @@ void test_registering_second_callbacks(cubeb_stream * stream)
// Get an assertion fails when registering a callback
// without unregistering the original one.
- ASSERT_DEATH(
+ ASSERT_DEATH_IF_SUPPORTED(
cubeb_stream_register_device_changed_callback(stream, device_changed_callback),
""
);