Skip to content

Add transform support to expect_snapshot_file() #1474

Description

@jennybc

I just did something janky with expect_snapshot(writeLines(read_utf8(path)), transform = scrub_testpkg) when what I really wanted was expect_snapshot_file(path, transform = scrub_testpkg).

r-lib/usethis@e9a4bec

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions