Skip to content

Commit b9546ac

Browse files
committed
testing host_bindgen changes
Signed-off-by: Shailesh Vashishth <shavashishth@gmail.com>
1 parent 4cca292 commit b9546ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/hyperlight_host/tests/wit_test.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,4 +449,11 @@ mod pick_world_binding_test {
449449
assert_eq!(first_import.r#key, "dummyKey");
450450
assert_eq!(first_import.r#value, "dummyValue");
451451
}
452+
453+
#[should_panic]
454+
#[test]
455+
fn test_second_world_import_panic() {
456+
let second_export = SecondworldResources::new();
457+
assert!(second_export)
458+
}
452459
}

0 commit comments

Comments
 (0)