Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Feb 9, 2024
1 parent 206a8ae commit acbf642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/all/component_model/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fn resource_any() -> Result<()> {

// reuse of `t` should fail, despite it pointing to a valid resource
assert_eq!(
t_dtor.call(&mut store, (t1,)).unwrap_err().to_string(),
t_dtor.call(&mut store, (t,)).unwrap_err().to_string(),
"host-owned resource is being used with the wrong type"
);
}
Expand Down

0 comments on commit acbf642

Please sign in to comment.