()
| 312 | |
| 313 | #[test] |
| 314 | fn bytecode_missing_link() { |
| 315 | let hardhat = test_hardhat(); |
| 316 | |
| 317 | // Not giving any dependency should result in a failure. |
| 318 | let result = hardhat.bytecode( |
| 319 | "SubnetActorDiamond.sol", |
| 320 | "SubnetActorDiamond", |
| 321 | &Default::default(), |
| 322 | ); |
| 323 | |
| 324 | assert!(result.is_err()); |
| 325 | assert!(result |
| 326 | .unwrap_err() |
| 327 | .to_string() |
| 328 | .contains("failed to resolve library")); |
| 329 | } |
| 330 | |
| 331 | #[test] |
| 332 | fn library_dependencies() { |
nothing calls this directly
no test coverage detected