@@ -537,7 +537,6 @@ SENTRY_TEST(value_attribute)
537537 "bytes" );
538538 sentry_value_decref (string_attr_n );
539539
540-
541540 // Test list attribute types (arrays)
542541 sentry_value_t string_list = sentry_value_new_list ();
543542 sentry_value_append (string_list , sentry_value_new_string ("foo" ));
@@ -546,12 +545,13 @@ SENTRY_TEST(value_attribute)
546545 = sentry_value_new_attribute (string_list , NULL );
547546 TEST_CHECK (
548547 sentry_value_get_type (string_list_attr ) == SENTRY_VALUE_TYPE_OBJECT );
549- TEST_CHECK_STRING_EQUAL (sentry_value_as_string (
550- sentry_value_get_by_key ( string_list_attr , "type" )),
548+ TEST_CHECK_STRING_EQUAL (sentry_value_as_string (sentry_value_get_by_key (
549+ string_list_attr , "type" )),
551550 "string[]" );
552551 sentry_value_t string_list_value
553552 = sentry_value_get_by_key (string_list_attr , "value" );
554- TEST_CHECK (sentry_value_get_type (string_list_value ) == SENTRY_VALUE_TYPE_LIST );
553+ TEST_CHECK (
554+ sentry_value_get_type (string_list_value ) == SENTRY_VALUE_TYPE_LIST );
555555 TEST_CHECK (sentry_value_get_length (string_list_value ) == 2 );
556556 sentry_value_decref (string_list_attr );
557557
@@ -563,8 +563,8 @@ SENTRY_TEST(value_attribute)
563563 = sentry_value_new_attribute (integer_list , NULL );
564564 TEST_CHECK (
565565 sentry_value_get_type (integer_list_attr ) == SENTRY_VALUE_TYPE_OBJECT );
566- TEST_CHECK_STRING_EQUAL (sentry_value_as_string (
567- sentry_value_get_by_key ( integer_list_attr , "type" )),
566+ TEST_CHECK_STRING_EQUAL (sentry_value_as_string (sentry_value_get_by_key (
567+ integer_list_attr , "type" )),
568568 "integer[]" );
569569 sentry_value_decref (integer_list_attr );
570570
@@ -575,8 +575,8 @@ SENTRY_TEST(value_attribute)
575575 = sentry_value_new_attribute (double_list , NULL );
576576 TEST_CHECK (
577577 sentry_value_get_type (double_list_attr ) == SENTRY_VALUE_TYPE_OBJECT );
578- TEST_CHECK_STRING_EQUAL (
579- sentry_value_as_string ( sentry_value_get_by_key ( double_list_attr , "type" )),
578+ TEST_CHECK_STRING_EQUAL (sentry_value_as_string ( sentry_value_get_by_key (
579+ double_list_attr , "type" )),
580580 "double[]" );
581581 sentry_value_decref (double_list_attr );
582582
@@ -587,14 +587,15 @@ SENTRY_TEST(value_attribute)
587587 = sentry_value_new_attribute (boolean_list , NULL );
588588 TEST_CHECK (
589589 sentry_value_get_type (boolean_list_attr ) == SENTRY_VALUE_TYPE_OBJECT );
590- TEST_CHECK_STRING_EQUAL (sentry_value_as_string (
591- sentry_value_get_by_key ( boolean_list_attr , "type" )),
590+ TEST_CHECK_STRING_EQUAL (sentry_value_as_string (sentry_value_get_by_key (
591+ boolean_list_attr , "type" )),
592592 "boolean[]" );
593593 sentry_value_decref (boolean_list_attr );
594594
595595 // Test empty list (should return null since first element is null)
596596 sentry_value_t empty_list = sentry_value_new_list ();
597- sentry_value_t empty_list_attr = sentry_value_new_attribute (empty_list , NULL );
597+ sentry_value_t empty_list_attr
598+ = sentry_value_new_attribute (empty_list , NULL );
598599 TEST_CHECK (sentry_value_is_null (empty_list_attr ));
599600 sentry_value_decref (empty_list_attr );
600601
0 commit comments