()
| 709 | |
| 710 | #[test] |
| 711 | fn test_file_move() { |
| 712 | let graph_op: GraphOp<Hash> = GraphOp::FileMove { |
| 713 | del: test_edge_map(), |
| 714 | add: test_new_vertex(), |
| 715 | path: "new/path/file.rs".to_string(), |
| 716 | }; |
| 717 | |
| 718 | assert!(graph_op.is_file_operation()); |
| 719 | assert_eq!(graph_op.path(), Some("new/path/file.rs")); |
| 720 | assert_eq!(graph_op.encoding(), None); |
| 721 | } |
| 722 | |
| 723 | #[test] |
| 724 | fn test_edit() { |
nothing calls this directly
no test coverage detected