Skip to content

Commit c311155

Browse files
committed
Fix test case that is no longer valid
1 parent 2384873 commit c311155

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

cmd/ponyup.pony

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ actor Ponyup
5858
return
5959
end
6060

61-
if not Packages().contains(pkg.application, {(a, b) => a.name() == b.name() }) then
62-
_notify.log(Err, "unknown package: " + pkg.name())
63-
return
64-
end
65-
6661
if _lockfile.contains(pkg) then
6762
_notify.log(Info, pkg.string() + " is up to date")
6863
return

test/main.pony

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,11 @@ class _TestParsePlatform is UnitTest
3131
("ponyc-?-?-x86_64-unknown-linux-ubuntu22.04", (AMD64, Linux, "ubuntu22.04"))
3232
("ponyc-?-?-x64-linux-ubuntu22.04", (AMD64, Linux, "ubuntu22.04"))
3333
("ponyc-x86_64-pc-linux-ubuntu24.04", (AMD64, Linux, "ubuntu24.04"))
34-
("?-?-?-amd64-linux-ubuntu22.04", (AMD64, Linux, None))
3534
("ponyc-?-?-x86_64-alpine-linux-musl", (AMD64, Linux, "musl"))
36-
("?-?-?-x86_64-alpine-linux-musl", (AMD64, Linux, None))
3735
("ponyc-?-?-x86_64-apple-darwin", (AMD64, Darwin, None))
38-
("?-?-?-darwin", (AMD64, Darwin, None))
3936
( "ponyc-?-?-musl"
4037
, (AMD64, Packages.platform_os()?, Packages.platform_distro("musl"))
4138
)
42-
("?-?-?-musl", (AMD64, Packages.platform_os()?, None))
4339
("ponyc-?-?-x86_64-linux", None)
4440
("ponyc-?-?-x86_64-darwin", (AMD64, Darwin, None))
4541
("ponyc-?-?-x86_64-pc-windows-msvc", (AMD64, Windows, None))

0 commit comments

Comments
 (0)