()
| 1060 | |
| 1061 | #[test] |
| 1062 | fn test_hunk_display() { |
| 1063 | let graph_op: GraphOp<Hash> = GraphOp::FileAdd { |
| 1064 | add_name: test_new_vertex(), |
| 1065 | add_inode: test_new_vertex(), |
| 1066 | contents: None, |
| 1067 | path: "test.txt".to_string(), |
| 1068 | encoding: None, |
| 1069 | }; |
| 1070 | |
| 1071 | let display = format!("{}", graph_op); |
| 1072 | assert!(display.contains("FileAdd")); |
| 1073 | assert!(display.contains("test.txt")); |
| 1074 | } |
| 1075 | |
| 1076 | #[test] |
| 1077 | fn test_edit_display() { |
nothing calls this directly
no test coverage detected