()
| 777 | |
| 778 | #[test] |
| 779 | fn test_hunk_display() { |
| 780 | let graph_op: GraphOp<Hash> = GraphOp::FileAdd { |
| 781 | add_name: test_new_vertex(), |
| 782 | add_inode: test_new_vertex(), |
| 783 | contents: None, |
| 784 | path: "test.txt".to_string(), |
| 785 | encoding: None, |
| 786 | }; |
| 787 | |
| 788 | let display = format!("{}", graph_op); |
| 789 | assert!(display.contains("FileAdd")); |
| 790 | assert!(display.contains("test.txt")); |
| 791 | } |
| 792 | |
| 793 | #[test] |
| 794 | fn test_edit_display() { |
nothing calls this directly
no test coverage detected