File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Tests/WasmKitTests/Spectest Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ enum Result {
8686 case passed
8787 case failed( String )
8888 case skipped( String )
89- // case `internal`(Swift.Error)
9089
9190 var banner : String {
9291 switch self {
@@ -96,8 +95,6 @@ enum Result {
9695 return " [FAILED] "
9796 case . skipped:
9897 return " [SKIPPED] "
99- // case .internal:
100- // return "[INTERNAL]"
10198 }
10299 }
103100}
@@ -328,11 +325,7 @@ extension WastRunContext {
328325 return . skipped( " validation is no implemented yet " )
329326
330327 case . invoke( let invoke) :
331- do {
332- _ = try wastInvoke ( call: invoke)
333- } catch {
334- return . failed( " \( error) " )
335- }
328+ _ = try wastInvoke ( call: invoke)
336329 return . passed
337330 }
338331 }
@@ -343,7 +336,6 @@ extension WastRunContext {
343336 return try wastInvoke ( call: invoke)
344337 case . get( let module, let globalName) :
345338 let instance = try deriveInstance ( by: module)
346- let result : WasmKit . Value
347339 guard case let . global( global) = instance. export ( globalName) else {
348340 throw SpectestError ( " no global export with name \( globalName) in a module instance \( instance) " )
349341 }
You can’t perform that action at this time.
0 commit comments