()
| 1194 | |
| 1195 | #[test] |
| 1196 | fn test_file_ops_edit() { |
| 1197 | let mut ops = FileOps::edit(test_trunk_id(), "modify.txt".to_string()); |
| 1198 | ops.add_line_op(LineOps::insert(test_branch_id(0), None, vec![])); |
| 1199 | |
| 1200 | assert!(ops.is_edit()); |
| 1201 | assert!(!ops.is_create()); |
| 1202 | assert_eq!(ops.line_count(), 1); |
| 1203 | } |
| 1204 | |
| 1205 | #[test] |
| 1206 | fn test_file_ops_token_count() { |
nothing calls this directly
no test coverage detected