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