()
| 1208 | |
| 1209 | #[test] |
| 1210 | fn test_empty_path() { |
| 1211 | let graph_op: GraphOp<Hash> = GraphOp::FileAdd { |
| 1212 | add_name: test_new_vertex(), |
| 1213 | add_inode: test_new_vertex(), |
| 1214 | contents: None, |
| 1215 | path: String::new(), |
| 1216 | encoding: None, |
| 1217 | }; |
| 1218 | |
| 1219 | assert_eq!(graph_op.path(), Some("")); |
| 1220 | } |
| 1221 | |
| 1222 | #[test] |
| 1223 | fn test_deep_path() { |
nothing calls this directly
no test coverage detected