diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2026-06-23 11:00:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-23 11:00:55 -0400 |
| commit | 5e0b3fbefebaeff1fa5bfb338c760b9b9e270f02 (patch) | |
| tree | 14b22fc5b82a9db87720c820c54422c9b9c47a1c /tests/test_recipe.c | |
| parent | 70c1ba3962166853fc7a1e4f2bb1d637104312b1 (diff) | |
| parent | 0f6a1c982c2f417e9f0de968bbb7ce58299a8e8d (diff) | |
| download | stasis-1.8.0.tar.gz | |
Support modern versions of conda/mamba
Diffstat (limited to 'tests/test_recipe.c')
| -rw-r--r-- | tests/test_recipe.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_recipe.c b/tests/test_recipe.c index 3ea21ce..939ac7d 100644 --- a/tests/test_recipe.c +++ b/tests/test_recipe.c @@ -33,27 +33,27 @@ void test_recipe_clone() { {.recipe_dir = "recipe_condaforge", .url = "https://github.com/conda-forge/fitsverify-feedstock", .gitref = "HEAD", - .expect_type = RECIPE_TYPE_CONDA_FORGE, + .expect_type = RECIPE_STYLE_CONDA_FORGE, .expect_return = 0}, {.recipe_dir = "recipe_astroconda", .url = "https://github.com/astroconda/astroconda-contrib", .gitref = "HEAD", - .expect_type = RECIPE_TYPE_ASTROCONDA, + .expect_type = RECIPE_STYLE_ASTROCONDA, .expect_return = 0}, {.recipe_dir = "recipe_generic", .url = "local_repo", .gitref = "HEAD", - .expect_type = RECIPE_TYPE_GENERIC, + .expect_type = RECIPE_STYLE_GENERIC, .expect_return = 0}, {.recipe_dir = "recipe_unknown", .url = "https://github.com/astroconda/firewatch", .gitref = "HEAD", - .expect_type = RECIPE_TYPE_UNKNOWN, + .expect_type = RECIPE_STYLE_UNKNOWN, .expect_return = 0}, {.recipe_dir = "recipe_broken", .url = "123_BAD_BAD_BAD_456", .gitref = "HEAD", - .expect_type = RECIPE_TYPE_UNKNOWN, + .expect_type = RECIPE_STYLE_UNKNOWN, .expect_return = 128}, }; for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) { @@ -76,7 +76,7 @@ void test_recipe_clone() { // Ensure a path to the repository was returned in the result argument STASIS_ASSERT(result_path != NULL, "result path should not be NULL"); // Verify the repository was detected as the correct recipe type - STASIS_ASSERT(recipe_get_type(result_path) == test->expect_type, "repository detected as the wrong type"); + STASIS_ASSERT(recipe_get_style(result_path) == test->expect_type, "repository detected as the wrong type"); if (test->expect_return == 0) { // Verify the result path exists |
