()
| 647 | |
| 648 | #[test] |
| 649 | fn test_leaf_op_insert_after() { |
| 650 | let after_id = LeafId::new(NodeId::new(1), 5); |
| 651 | let op = LeafOp::Insert { |
| 652 | after: Some(after_id), |
| 653 | kind: TokenKind::Operator, |
| 654 | content: b"+".to_vec(), |
| 655 | }; |
| 656 | assert_eq!(op.insert_after(), Some(Some(after_id))); |
| 657 | } |
| 658 | |
| 659 | #[test] |
| 660 | fn test_leaf_op_delete() { |
nothing calls this directly
no outgoing calls
no test coverage detected