()
| 822 | |
| 823 | #[test] |
| 824 | fn test_file_ops_create() { |
| 825 | let ops = FileOps::create( |
| 826 | test_trunk_id(), |
| 827 | "test.txt".to_string(), |
| 828 | Some(Encoding::Utf8), |
| 829 | ); |
| 830 | |
| 831 | assert!(ops.is_create()); |
| 832 | assert!(!ops.is_delete()); |
| 833 | assert!(!ops.is_edit()); |
| 834 | assert_eq!(ops.path(), "test.txt"); |
| 835 | assert!(ops.has_operations()); |
| 836 | } |
| 837 | |
| 838 | #[test] |
| 839 | fn test_file_ops_delete() { |
nothing calls this directly
no test coverage detected