()
| 584 | |
| 585 | #[test] |
| 586 | fn test_trunk_op_create() { |
| 587 | let op = TrunkOp::Create { |
| 588 | path: "README.md".to_string(), |
| 589 | encoding: Some(Encoding::Utf8), |
| 590 | }; |
| 591 | assert!(op.is_create()); |
| 592 | assert!(!op.is_delete()); |
| 593 | assert!(op.trunk_id().is_none()); |
| 594 | assert_eq!(op.op_type(), "create"); |
| 595 | } |
| 596 | |
| 597 | #[test] |
| 598 | fn test_trunk_op_delete() { |
nothing calls this directly
no outgoing calls
no test coverage detected