Skip to content

Commit 57cde68

Browse files
jdxclaude
andcommitted
fix(test): keep gitlab lockfile URL assertion on mise.jdx.dev
The lockfile URL is whatever the upstream GitLab release asset was published with — that link is registered as mise.jdx.dev and can't be changed from this repo. The user-supplied URLs in mise.toml above can still use mise.en.dev (and the install step proved that works). Caught by e2e-7 on #9411. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 67edbec commit 57cde68

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

e2e/backend/test_gitlab

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ assert_contains "cat mise.lock" 'asset_pattern = "hello-world-1.0.0.tar.gz"'
4646
PLATFORM_KEY=$(mise x --cd . -- bash -c "echo \"\$(uname -s | tr '[:upper:]' '[:lower:]' | sed 's/darwin/macos/')-\$(uname -m | sed 's/x86_64/x64/' | sed 's/aarch64/arm64/')\"")
4747
assert_contains "cat mise.lock" "\"platforms.$PLATFORM_KEY\""
4848
assert_contains "cat mise.lock" 'checksum = "blake3:71f774faa03daf1a58cc3339f8c73e6557348c8e0a2f3fb8148cc26e26bad83f"'
49-
assert_contains "cat mise.lock" 'url = "https://mise.en.dev/test-fixtures/hello-world-1.0.0.tar.gz"'
49+
# URL comes from the upstream GitLab release asset, which was published with the mise.jdx.dev hostname.
50+
assert_contains "cat mise.lock" 'url = "https://mise.jdx.dev/test-fixtures/hello-world-1.0.0.tar.gz"'
5051

5152
mise uninstall gitlab:jdxcode/mise-test-fixtures
5253

0 commit comments

Comments
 (0)