()
| 2937 | |
| 2938 | #[test] |
| 2939 | fn eqref_ty_i31() -> Result<()> { |
| 2940 | let mut store = gc_store()?; |
| 2941 | let eq = EqRef::from_i31(&mut store, I31::wrapping_u32(10)); |
| 2942 | let ty = eq.ty(&store)?; |
| 2943 | assert!(matches!(ty, HeapType::I31)); |
| 2944 | Ok(()) |
| 2945 | } |
| 2946 | |
| 2947 | #[test] |
| 2948 | #[cfg_attr(miri, ignore)] |