()
| 83 | |
| 84 | #[test] |
| 85 | fn missing_method_detects_unknown_function() { |
| 86 | let err = ContractError::call( |
| 87 | "probe failed", |
| 88 | AlloyContractError::UnknownFunction("INTERMEDIATE_BLOCK_INTERVAL".to_string()), |
| 89 | ); |
| 90 | |
| 91 | assert!(err.is_missing_method()); |
| 92 | } |
| 93 | |
| 94 | #[test] |
| 95 | fn missing_method_detects_unknown_selector() { |