(s: &str)
| 385 | // ---- test helpers ---- |
| 386 | |
| 387 | fn mk_name(s: &str) -> Name { |
| 388 | let mut n = Name::anon(); |
| 389 | for part in s.split('.') { |
| 390 | n = Name::str(n, part.to_string()); |
| 391 | } |
| 392 | n |
| 393 | } |
| 394 | |
| 395 | fn mk_addr(s: &str) -> Address { |
| 396 | Address::hash(s.as_bytes()) |
no outgoing calls