Fix tests during nix build

This commit is contained in:
Bryan Bennett 2024-03-28 08:03:58 -04:00
parent 388f4726c8
commit a53412a1f9
No known key found for this signature in database
GPG key ID: EE149E4215408DE9
3 changed files with 3 additions and 6 deletions

View file

@ -64,7 +64,7 @@ let test_run_process_stdout = () =>
let test_hash_one = () => {
check_result_string(
"Hash matches",
Ok("32b4ac64be805d730745f6bac45a5d95174ebd10"),
Ok("6ead949bf4bcae230b9ed9cd11e578e34ce9f9ea"),
hash_files([|"spit_version.sh"|]),
);
};
@ -72,7 +72,7 @@ let test_hash_one = () => {
let test_hash_multiple = () => {
check_result_string(
"Hash matches",
Ok("e4c880fc6ab9a1b88e6be18e53fc4cec9f463d1a"),
Ok("f109b7892a541ed1e3cf39314cd25d21042b984f"),
hash_files([|"spit_version.sh", "spit_version.sh"|]),
);
};
@ -80,7 +80,7 @@ let test_hash_multiple = () => {
let test_hash_filters_nonexistent = () => {
check_result_string(
"Hash matches",
Ok("32b4ac64be805d730745f6bac45a5d95174ebd10"),
Ok("6ead949bf4bcae230b9ed9cd11e578e34ce9f9ea"),
hash_files([|"spit_version.sh", "FOOBARBAZ"|]),
);
};