naersk/test/fast/git-dep-by-branch-with-slash
2022-05-03 12:41:13 +02:00
..
fixtures refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
default.nix refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00
README.md refactor: Refactor tests into separate files 2022-05-03 12:41:13 +02:00

Test

This test ensures that we correctly handle dependencies with slashes in their names (as it requires some extra care around unpacking them).

Setup

In this test, crate app depends on crate dep, for which our Nix test-runner dynamically creates a Git repository with a branch called with/slash.

Naersk then builds app, and if the compilation succeeds, then everything must be working correctly.

Caveats