mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 22:51:24 +01:00
Filter missing watches before hashing
This commit is contained in:
parent
efa64a4734
commit
8627db86be
4 changed files with 14 additions and 8 deletions
|
|
@ -75,7 +75,7 @@ let test_hash_one = () => {
|
|||
check_result_string(
|
||||
"Hash matches",
|
||||
Ok("6ead949bf4bcae230b9ed9cd11e578e34ce9f9ea"),
|
||||
hash_files([|"spit_version.sh"|]),
|
||||
hash_files(["spit_version.sh"]),
|
||||
);
|
||||
};
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ let test_hash_multiple = () => {
|
|||
check_result_string(
|
||||
"Hash matches",
|
||||
Ok("f109b7892a541ed1e3cf39314cd25d21042b984f"),
|
||||
hash_files([|"spit_version.sh", "spit_version.sh"|]),
|
||||
hash_files(["spit_version.sh", "spit_version.sh"]),
|
||||
);
|
||||
};
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ let test_hash_filters_nonexistent = () => {
|
|||
check_result_string(
|
||||
"Hash matches",
|
||||
Ok("6ead949bf4bcae230b9ed9cd11e578e34ce9f9ea"),
|
||||
hash_files([|"spit_version.sh", "FOOBARBAZ"|]),
|
||||
hash_files(["spit_version.sh", "FOOBARBAZ"]),
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue