Skip to content

Use Cursor<Vec<u8>> in tests #34

@saecki

Description

@saecki

Now that Userdata::write_to is generic over the StorageFile trait we can avoid a lot of disk io during tests by just initially reading the test files and then performing all operations in memory over a Cursor<Vec<u8>>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions