()
| 934 | |
| 935 | #[test] |
| 936 | fn test_file_move() { |
| 937 | let graph_op: GraphOp<Hash> = GraphOp::FileMove { |
| 938 | del: test_edge_map(), |
| 939 | add: test_new_vertex(), |
| 940 | path: "new/path/file.rs".to_string(), |
| 941 | }; |
| 942 | |
| 943 | assert!(graph_op.is_file_operation()); |
| 944 | assert_eq!(graph_op.path(), Some("new/path/file.rs")); |
| 945 | assert_eq!(graph_op.encoding(), None); |
| 946 | } |
| 947 | |
| 948 | #[test] |
| 949 | fn test_edit() { |
nothing calls this directly
no test coverage detected