fix async js shutdown test expectation

This commit is contained in:
Nanaloveyuki
2026-07-08 11:17:37 +08:00
parent 52b26b31f2
commit 465e5ecd5d
+2 -8
View File
@@ -1902,14 +1902,8 @@ async test "library async shutdown preserves wrapped failure cleanup semantics"
inspect(full.last_error().contains("TestFlushError"), content="true")
inspect(full.is_running(), content="false")
inspect(writes.val, content="1")
inspect(
full.pending_count(),
content=if async_runtime_supports_background_worker() { "0" } else { "1" },
)
inspect(
full.dropped_count(),
content=if async_runtime_supports_background_worker() { "1" } else { "0" },
)
inspect(full.pending_count(), content="0")
inspect(full.dropped_count(), content="1")
}
///|