Skip to content

Commit 6a57a35

Browse files
mujacicaclaude
andcommitted
style: fix clang-format and alphabetical order in tests.inc
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c719f22 commit 6a57a35

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

src/backends/native/sentry_crash_daemon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,8 +3102,8 @@ sentry__crash_daemon_main(pid_t app_pid, uint64_t app_tid, HANDLE event_handle,
31023102

31033103
#if defined(SENTRY_PLATFORM_LINUX) || defined(SENTRY_PLATFORM_ANDROID)
31043104
pid_t
3105-
sentry__crash_daemon_start(pid_t app_pid, uint64_t app_tid,
3106-
int notify_eventfd, int ready_eventfd, const char *handler_path)
3105+
sentry__crash_daemon_start(pid_t app_pid, uint64_t app_tid, int notify_eventfd,
3106+
int ready_eventfd, const char *handler_path)
31073107
#elif defined(SENTRY_PLATFORM_MACOS)
31083108
pid_t
31093109
sentry__crash_daemon_start(pid_t app_pid, uint64_t app_tid,

src/backends/native/sentry_crash_daemon.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ pid_t sentry__crash_daemon_start(pid_t app_pid, uint64_t app_tid,
3232
int notify_pipe_read, int ready_pipe_write, const char *handler_path);
3333
#elif defined(SENTRY_PLATFORM_WINDOWS)
3434
pid_t sentry__crash_daemon_start(pid_t app_pid, uint64_t app_tid,
35-
HANDLE event_handle, HANDLE ready_event_handle,
36-
const char *handler_path);
35+
HANDLE event_handle, HANDLE ready_event_handle, const char *handler_path);
3736
#endif
3837

3938
/**

tests/unit/test_native_backend.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ SENTRY_TEST(crash_context_transport_fields)
382382
SENTRY_TEST(crash_context_options_propagation)
383383
{
384384
#ifdef SENTRY_BACKEND_NATIVE
385-
# include "../../src/backends/native/sentry_crash_context.h"
386385
// Create options with transport config
387386
SENTRY_TEST_OPTIONS_NEW(options);
388387

@@ -431,7 +430,6 @@ SENTRY_TEST(crash_context_options_propagation)
431430
SENTRY_TEST(crash_context_handler_path_propagation)
432431
{
433432
#ifdef SENTRY_BACKEND_NATIVE
434-
# include "../../src/backends/native/sentry_crash_context.h"
435433
SENTRY_TEST_OPTIONS_NEW(options);
436434

437435
// Set handler path
@@ -470,7 +468,6 @@ SENTRY_TEST(crash_context_handler_path_propagation)
470468
SENTRY_TEST(crash_context_null_options)
471469
{
472470
#ifdef SENTRY_BACKEND_NATIVE
473-
# include "../../src/backends/native/sentry_crash_context.h"
474471
SENTRY_TEST_OPTIONS_NEW(options);
475472

476473
// Don't set ca_certs or proxy - leave them as NULL

tests/unit/tests.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ XX(cache_max_items)
4646
XX(cache_max_size)
4747
XX(cache_max_size_and_age)
4848
XX(capture_minidump_basic)
49-
XX(crash_context_handler_path_propagation)
50-
XX(crash_context_null_options)
51-
XX(crash_context_options_propagation)
52-
XX(crash_context_transport_fields)
5349
XX(capture_minidump_invalid_path)
5450
XX(capture_minidump_null_path)
5551
XX(capture_minidump_without_sentry_init)
@@ -59,6 +55,10 @@ XX(child_spans_ts)
5955
XX(concurrent_init)
6056
XX(concurrent_uninit)
6157
XX(count_sampled_events)
58+
XX(crash_context_handler_path_propagation)
59+
XX(crash_context_null_options)
60+
XX(crash_context_options_propagation)
61+
XX(crash_context_transport_fields)
6262
XX(crash_marker)
6363
XX(crashed_last_run)
6464
XX(custom_logger)

0 commit comments

Comments
 (0)