Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add strand_with_nul_should_panic #4071

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 23, 2024

  1. test: Add strand_with_nul_should_panic

    This tests that a panic occurs if a string to be serialized
    contains one or more null bytes ('\0'). Since a `debug_assert` in
    `fn serialize<S>` of core/src/sql/strand.rs the test must be ignored
    for `--release` builds. Hence the addition of `[cfg(debug_assertions)]`
    attribute.
    winksaville committed May 23, 2024
    Configuration menu
    Copy the full SHA
    30c51bd View commit details
    Browse the repository at this point in the history