File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module github.com/Zxilly/go-size-analyzer
22
33go 1.23
44
5- // toolchain go1.23rc1
5+ toolchain go1.23rc1
66
77require (
88 github.com/ZxillyFork/gore v0.0.0-20240709175049-78f2566cdd48
Original file line number Diff line number Diff line change @@ -175,15 +175,15 @@ def run_integration_tests(typ: str, gsa_path: str):
175175 log (f"Running integration tests { typ } ..." )
176176
177177 targets = []
178- match typ :
179- case "web" | "flag" :
180- pass # analyze itself, nothing to do
181- case "example" :
182- targets = load_remote_binaries_as_test (lambda x : x .startswith ("bin-" ))
183- case "real" :
184- targets = load_remote_binaries_as_test (lambda x : not x .startswith ("bin-" ))
185- case _ :
186- raise Exception (f"Unknown integration test type: { typ } " )
178+
179+ if typ == "web" or typ == "flag" :
180+ pass # analyze itself, nothing to do
181+ elif typ == "example" :
182+ targets = load_remote_binaries_as_test (lambda x : x .startswith ("bin-" ))
183+ elif typ == "real" :
184+ targets = load_remote_binaries_as_test (lambda x : not x .startswith ("bin-" ))
185+ else :
186+ raise Exception (f"Unknown integration test type: { typ } " )
187187
188188 if typ == "example" :
189189 timeout = 10
You can’t perform that action at this time.
0 commit comments