()
| 1414 | |
| 1415 | #[test] |
| 1416 | fn test_file_ops_edit() { |
| 1417 | let mut ops = FileOps::edit(test_trunk_id(), "modify.txt".to_string()); |
| 1418 | ops.add_line_op(LineOps::insert(test_branch_id(0), None, vec![])); |
| 1419 | |
| 1420 | assert!(ops.is_edit()); |
| 1421 | assert!(!ops.is_create()); |
| 1422 | assert_eq!(ops.line_count(), 1); |
| 1423 | } |
| 1424 | |
| 1425 | #[test] |
| 1426 | fn test_file_ops_token_count() { |
nothing calls this directly
no test coverage detected