()
| 606 | |
| 607 | #[test] |
| 608 | fn test_trunk_op_move() { |
| 609 | let trunk_id = TrunkId::new(NodeId::new(1), 0); |
| 610 | let op = TrunkOp::Move { |
| 611 | trunk: trunk_id, |
| 612 | new_path: "docs/README.md".to_string(), |
| 613 | }; |
| 614 | assert!(op.is_move()); |
| 615 | assert_eq!(op.trunk_id(), Some(trunk_id)); |
| 616 | assert_eq!(op.op_type(), "move"); |
| 617 | } |
| 618 | |
| 619 | #[test] |
| 620 | fn test_trunk_op_undelete() { |
nothing calls this directly
no outgoing calls
no test coverage detected