()
| 618 | |
| 619 | #[test] |
| 620 | fn test_tracked_file_new() { |
| 621 | let pos = Position::new(NodeId::new(1), ChangePosition::new(0)); |
| 622 | let file = TrackedFile::new("src/main.rs", Inode::new(42), pos); |
| 623 | |
| 624 | assert_eq!(file.path, "src/main.rs"); |
| 625 | assert_eq!(file.inode, Inode::new(42)); |
| 626 | assert_eq!(file.position, pos); |
| 627 | assert!(!file.is_directory); |
| 628 | } |
| 629 | |
| 630 | #[test] |
| 631 | fn test_tracked_file_as_directory() { |
nothing calls this directly
no outgoing calls
no test coverage detected