@@ -10,10 +10,9 @@ using urPlatformCreateWithNativeHandleTest = uur::platform::urPlatformTest;
1010TEST_F (urPlatformCreateWithNativeHandleTest, Success) {
1111 for (auto platform : platforms) {
1212 ur_native_handle_t native_handle = 0 ;
13- {
14- UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
15- urPlatformGetNativeHandle (platform, &native_handle));
16- }
13+
14+ UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
15+ urPlatformGetNativeHandle (platform, &native_handle));
1716
1817 // We cannot assume anything about a native_handle, not even if it's
1918 // `nullptr` since this could be a valid representation within a backend.
@@ -33,10 +32,9 @@ TEST_F(urPlatformCreateWithNativeHandleTest, Success) {
3332TEST_F (urPlatformCreateWithNativeHandleTest, SuccessWithOwnedNativeHandle) {
3433 for (auto platform : platforms) {
3534 ur_native_handle_t native_handle = 0 ;
36- {
37- UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
38- urPlatformGetNativeHandle (platform, &native_handle));
39- }
35+
36+ UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
37+ urPlatformGetNativeHandle (platform, &native_handle));
4038
4139 // We cannot assume anything about a native_handle, not even if it's
4240 // `nullptr` since this could be a valid representation within a backend.
@@ -58,10 +56,9 @@ TEST_F(urPlatformCreateWithNativeHandleTest, SuccessWithOwnedNativeHandle) {
5856TEST_F (urPlatformCreateWithNativeHandleTest, SuccessWithUnOwnedNativeHandle) {
5957 for (auto platform : platforms) {
6058 ur_native_handle_t native_handle = 0 ;
61- {
62- UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
63- urPlatformGetNativeHandle (platform, &native_handle));
64- }
59+
60+ UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
61+ urPlatformGetNativeHandle (platform, &native_handle));
6562
6663 // We cannot assume anything about a native_handle, not even if it's
6764 // `nullptr` since this could be a valid representation within a backend.
0 commit comments