chore(test): 迁移测试夹具到新语法
机械规则 R2/R3/R4/R6/R7/R8/R13 + R16 保守子集,共 86 文件 2127 行。R1(T | t.CPtr)与 R12(while 下标循环)未做,仍列为待办。全量 77/77 顺序回归通过。
This commit is contained in:
1 parent
c9d741c202
commit
f5da836fbb
86 files changed
+2121
-2121
No files matched your search
@@ -28,12 +28,12 @@ async def task() -> int:
|
||||
return 99
|
||||
|
||||
|
||||
def main() -> t.CInt:
|
||||
n: t.CInt = 0
|
||||
def main() -> int:
|
||||
n: int = 0
|
||||
for i in range(3):
|
||||
tt: coro.Coroutine = coro.Coroutine(*&task())
|
||||
r: t.CInt = coro.coro_run(tt)
|
||||
e: t.CInt = coro.coro_exception(tt)
|
||||
r: int = coro.coro_run(tt)
|
||||
e: int = coro.coro_exception(tt)
|
||||
m: t.CPtr = coro.coro_exception_msg(tt)
|
||||
stdio.printf("[%d] r = %d, exc = %d, msg = %s\n", i, r, e, m)
|
||||
coro.coro_destroy(tt)
|
||||
|
||||
Reference in new issue
Block a user