File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/hyperlight_host/tests Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -783,19 +783,22 @@ fn test_if_guest_is_able_to_get_bool_return_values_from_host() {
783
783
. call :: < bool > ( "GuestRetrievesBoolValue" , ( i, i) )
784
784
. unwrap ( ) ;
785
785
println ! ( "{:?}" , res) ;
786
- assert ! ( matches! ( res, false ) ) ;
786
+ assert ! ( ! res) ;
787
787
} else {
788
788
let res = sbox3
789
789
. call :: < bool > ( "GuestRetrievesBoolValue" , ( i, i) )
790
790
. unwrap ( ) ;
791
791
println ! ( "{:?}" , res) ;
792
- assert ! ( matches! ( res, true ) ) ;
792
+ assert ! ( res) ;
793
793
}
794
794
}
795
795
}
796
796
797
797
/// Tests whether host is able to return Float/f32 as return type
798
798
/// 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
799
802
#[ ignore]
800
803
#[ test]
801
804
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() {
814
817
815
818
/// Tests whether host is able to return Double/f64 as return type
816
819
/// 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
817
823
#[ ignore]
818
824
#[ test]
819
825
fn test_if_guest_is_able_to_get_double_return_values_from_host ( ) {
You can’t perform that action at this time.
0 commit comments