()
| 1221 | |
| 1222 | #[test] |
| 1223 | fn test_deep_path() { |
| 1224 | let graph_op: GraphOp<Hash> = GraphOp::FileAdd { |
| 1225 | add_name: test_new_vertex(), |
| 1226 | add_inode: test_new_vertex(), |
| 1227 | contents: None, |
| 1228 | path: "a/b/c/d/e/f/g/h/file.txt".to_string(), |
| 1229 | encoding: None, |
| 1230 | }; |
| 1231 | |
| 1232 | assert_eq!(graph_op.path(), Some("a/b/c/d/e/f/g/h/file.txt")); |
| 1233 | } |
| 1234 | |
| 1235 | #[test] |
| 1236 | fn test_binary_file() { |
nothing calls this directly
no test coverage detected