Skip to content

Commit 7a53835

Browse files
test(moonbit): restore async expected failures
1 parent 9e35e3d commit 7a53835

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

crates/test/src/moonbit.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,13 @@ impl LanguageMethods for MoonBit {
120120

121121
fn should_fail_verify(
122122
&self,
123-
_name: &str,
123+
name: &str,
124124
config: &crate::config::WitConfig,
125125
_args: &[String],
126126
) -> bool {
127-
config.error_context
127+
// async-resource-func actually works, but most other async tests
128+
// fail during codegen or verification
129+
config.async_ && name != "async-resource-func.wit"
128130
}
129131

130132
fn verify(&self, runner: &Runner, verify: &crate::Verify) -> anyhow::Result<()> {

0 commit comments

Comments
 (0)