()
| 858 | |
| 859 | #[test] |
| 860 | fn test_file_ops_edit() { |
| 861 | let mut ops = FileOps::edit(test_trunk_id(), "modify.txt".to_string()); |
| 862 | ops.add_line_op(LineOps::insert(test_branch_id(0), None, vec![])); |
| 863 | |
| 864 | assert!(ops.is_edit()); |
| 865 | assert!(!ops.is_create()); |
| 866 | assert_eq!(ops.line_count(), 1); |
| 867 | } |
| 868 | |
| 869 | #[test] |
| 870 | fn test_file_ops_token_count() { |
nothing calls this directly
no test coverage detected