Skip to content

Errors doctests #14519

Closed
Closed
@dmitrykleymenov

Description

@dmitrykleymenov

For now there are doctests in exception.ex errors, f.e: https://github.com/elixir-lang/elixir/blob/main/lib/elixir/lib/exception.ex#L1087
But those doctests run nowhere and some of them will fall if do. I think it should be rewritten to pure docs instead of doctests(to don't confuse), or add every error module to exception_test.exs as doctest ArithmeticError and fix tests

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