Skip to content

Error on test that should panic in num-complex #770

Closed
@kungfukennyg

Description

@kungfukennyg

Miri panics and fails when running a test marked with #[should_panic] in the num-complex crate.

The test in question:

    #[should_panic]
    fn test_divide_by_zero_natural() {
        let n = Complex::new(2, 3);
        let d = Complex::new(0, 0);
        let _x = n / ```

Log: https://gist.github.com/kennethbgoodin/f648b0164557faaca30584fcc456605e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions