Skip to content

Error location for snapshot tests with error = TRUE #1280

Closed
@krlmlr

Description

@krlmlr

In current tibble I'm seeing:

───────────────────────────────────────────────────────
Failure (snapshot.R:67:5): output test
`{ ... }` threw an unexpected error.
Message: `x` must not have more than one dimension. `length(dim(x))` must be zero or one, not 4.
Class:   tibble_error_enframe_has_dim/tibble_error/rlang_error/error/condition
Backtrace:
 1. tibble::enframe(Titanic)
───────────────────────────────────────────────────────

The snapshot.R:67:5 is not particularly helpful here.

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