diff options
author | Jan Beich <[email protected]> | 2019-09-05 15:59:35 +0000 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2019-09-06 08:56:54 +1200 |
commit | f33f05a1394f62c2c50b12b0496b6fce7b9df3f0 (patch) | |
tree | 2e3d3f80fa76735b8b02c82d2de1e8b453c36f3b /test | |
parent | c303b042b0a23bc8ef0fd5ea6d5ff9df86e84a30 (diff) | |
download | cubeb-f33f05a1394f62c2c50b12b0496b6fce7b9df3f0.tar.gz cubeb-f33f05a1394f62c2c50b12b0496b6fce7b9df3f0.zip |
test: unbreak on non-GTEST_HAS_DEATH_TEST platforms
test/test_device_changed_callback.cpp:79:3: error: use of undeclared identifier 'ASSERT_DEATH'
ASSERT_DEATH(
^
Diffstat (limited to 'test')
-rw-r--r-- | test/test_device_changed_callback.cpp | 2 |
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), "" ); |