Skip to content

Commit

Permalink
tests: Strengthen symbol_details_from_address test on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Jan 17, 2024
1 parent 13ef150 commit f237b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/symbolutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ TESTCASE (symbol_details_from_address)
GPOINTER_TO_SIZE (gum_dummy_function_0));
g_assert_true (g_str_has_prefix (details.module_name, "gum-tests"));
g_assert_cmpstr (details.symbol_name, ==, "gum_dummy_function_0");
#if !defined (HAVE_LINUX) && !defined (HAVE_IOS)
#ifndef HAVE_IOS
assert_basename_equals (__FILE__, details.file_name);
g_assert_cmpuint (details.line_number, >, 0);
#endif
Expand Down

0 comments on commit f237b3a

Please sign in to comment.