Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tustanivsky committed Mar 18, 2024
1 parent 836ab97 commit 181e047
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def assert_session(envelope, extra_assertion=None):
if extra_assertion:
assert_matches(session, extra_assertion)


def assert_user_feedback(envelope):
user_feedback = None
for item in envelope:
Expand Down
3 changes: 2 additions & 1 deletion tests/unit/test_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,8 @@ SENTRY_TEST(user_feedback_is_valid)
"some-email");
TEST_CHECK_STRING_EQUAL(
sentry_value_as_string(sentry_value_get_by_key(
user_feedback, "comments")), "some-comment");
user_feedback, "comments")),
"some-comment");

sentry_value_decref(user_feedback);
}

0 comments on commit 181e047

Please sign in to comment.