mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
a few tests
This commit is contained in:
parent
dd96d8fb33
commit
f4dfe01562
1 changed files with 40 additions and 0 deletions
|
@ -1504,6 +1504,46 @@ mod test {
|
|||
),
|
||||
"https://dl.deno.land/release-rc-latest.txt?lsp"
|
||||
);
|
||||
assert_eq!(
|
||||
get_latest_version_url(
|
||||
ReleaseChannel::Lts,
|
||||
"x86_64-pc-windows-msvc",
|
||||
UpgradeCheckKind::Lsp
|
||||
),
|
||||
"https://dl.deno.land/release-lts-latest.txt?lsp"
|
||||
);
|
||||
assert_eq!(
|
||||
get_latest_version_url(
|
||||
ReleaseChannel::Lts,
|
||||
"aarch64-apple-darwin",
|
||||
UpgradeCheckKind::Execution
|
||||
),
|
||||
"https://dl.deno.land/release-lts-latest.txt"
|
||||
);
|
||||
assert_eq!(
|
||||
get_latest_version_url(
|
||||
ReleaseChannel::Lts,
|
||||
"aarch64-apple-darwin",
|
||||
UpgradeCheckKind::Lsp
|
||||
),
|
||||
"https://dl.deno.land/release-lts-latest.txt?lsp"
|
||||
);
|
||||
assert_eq!(
|
||||
get_latest_version_url(
|
||||
ReleaseChannel::Lts,
|
||||
"x86_64-pc-windows-msvc",
|
||||
UpgradeCheckKind::Execution
|
||||
),
|
||||
"https://dl.deno.land/release-lts-latest.txt"
|
||||
);
|
||||
assert_eq!(
|
||||
get_latest_version_url(
|
||||
ReleaseChannel::Lts,
|
||||
"x86_64-pc-windows-msvc",
|
||||
UpgradeCheckKind::Lsp
|
||||
),
|
||||
"https://dl.deno.land/release-lts-latest.txt?lsp"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue