Skip to content

Commit a060875

Browse files
committed
Documentation and integration_test fixes
Signed-off-by: Shailesh Vashishth <shavashishth@gmail.com>
1 parent 9ae84d3 commit a060875

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/hyperlight_host/tests/integration_test.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,19 +783,22 @@ fn test_if_guest_is_able_to_get_bool_return_values_from_host() {
783783
.call::<bool>("GuestRetrievesBoolValue", (i, i))
784784
.unwrap();
785785
println!("{:?}", res);
786-
assert!(matches!(res, false));
786+
assert!(!res);
787787
} else {
788788
let res = sbox3
789789
.call::<bool>("GuestRetrievesBoolValue", (i, i))
790790
.unwrap();
791791
println!("{:?}", res);
792-
assert!(matches!(res, true));
792+
assert!(res);
793793
}
794794
}
795795
}
796796

797797
/// Tests whether host is able to return Float/f32 as return type
798798
/// or not
799+
/// Adding Ignore attribute, due known issues with float and double
800+
/// calculations - see Github issue #179. Once it is fixed we can
801+
/// remove ignore attribute
799802
#[ignore]
800803
#[test]
801804
fn test_if_guest_is_able_to_get_float_return_values_from_host() {
@@ -814,6 +817,9 @@ fn test_if_guest_is_able_to_get_float_return_values_from_host() {
814817

815818
/// Tests whether host is able to return Double/f64 as return type
816819
/// or not
820+
/// Adding Ignore attribute, due known issues with float and double
821+
/// calculations - see Github issue #179. Once it is fixed we can
822+
/// remove ignore attribute
817823
#[ignore]
818824
#[test]
819825
fn test_if_guest_is_able_to_get_double_return_values_from_host() {

0 commit comments

Comments
 (0)