Skip to content

File tests using text file #521

@aidanoconnor

Description

@aidanoconnor

The test for calculating the hash for a file should use a binary file, not the text file, test.key.
Git may do translation of line endings in text files during cloning, which causes the test to fail.
The issue can be resolved by configuring Git, but it may not be obvious why the test is failing.

Files:
tests/file_test.c
tests/test.key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions