()
| 323 | |
| 324 | #[test] |
| 325 | fn bytecode_missing_link() { |
| 326 | let hardhat = test_hardhat(); |
| 327 | |
| 328 | // Not giving any dependency should result in a failure. |
| 329 | let result = hardhat.prepare_deployment_artifact( |
| 330 | "SubnetActorDiamond.sol", |
| 331 | "SubnetActorDiamond", |
| 332 | &Default::default(), |
| 333 | ); |
| 334 | |
| 335 | assert!(result.is_err()); |
| 336 | assert!(result |
| 337 | .unwrap_err() |
| 338 | .to_string() |
| 339 | .contains("failed to resolve library")); |
| 340 | } |
| 341 | |
| 342 | #[test] |
| 343 | fn library_dependencies() { |
nothing calls this directly
no test coverage detected