add test for fetching a specific revision

This commit is contained in:
figsoda 2023-03-13 19:28:36 -04:00
parent 1940e05a5a
commit 24197ec56e
2 changed files with 10 additions and 0 deletions

6
tests/cmd/rev.stdout Normal file
View File

@ -0,0 +1,6 @@
fetchFromGitHub {
owner = "nix-community";
repo = "nurl";
rev = "7d7ed2f239f2c77e26a724d7c786e8079407c767";
hash = "sha256-TtH0sfWFWe3oYK/8jJslqjrEY5rR7HGAVDD5iQ2+spY=";
}

4
tests/cmd/rev.toml Normal file
View File

@ -0,0 +1,4 @@
args = [
"https://github.com/nix-community/nurl",
"7d7ed2f239f2c77e26a724d7c786e8079407c767",
]