()
| 51 | |
| 52 | #[test] |
| 53 | fn rejects_wrong_arity() { |
| 54 | let ty = FuncType::new(&[WasmType::I32], &[]); |
| 55 | let err = parse_invocation_args(&ty, &[]).unwrap_err(); |
| 56 | assert!(err.to_string().contains("wrong number of arguments")); |
| 57 | } |
| 58 | } |
nothing calls this directly
no test coverage detected