()
| 469 | |
| 470 | #[test] |
| 471 | fn test_trunk_new() { |
| 472 | let trunk = make_trunk(); |
| 473 | assert_eq!(trunk.id(), TrunkId::new(NodeId::new(1), 0)); |
| 474 | assert_eq!(trunk.inode(), Inode::new(42)); |
| 475 | assert_eq!(trunk.path(), "src/main.rs"); |
| 476 | assert_eq!(trunk.encoding(), Some(Encoding::Utf8)); |
| 477 | assert!(trunk.state().is_alive()); |
| 478 | } |
| 479 | |
| 480 | #[test] |
| 481 | fn test_trunk_is_text() { |
nothing calls this directly
no test coverage detected