()
| 840 | |
| 841 | #[test] |
| 842 | fn test_add_files_touched_dedup() { |
| 843 | let mut s = make_session(); |
| 844 | s.add_files_touched(&["a.rs".to_string(), "b.rs".to_string()]); |
| 845 | s.add_files_touched(&["b.rs".to_string(), "c.rs".to_string()]); |
| 846 | assert_eq!(s.files_touched, vec!["a.rs", "b.rs", "c.rs"]); |
| 847 | assert_eq!(s.files_touched_count(), 3); |
| 848 | } |
| 849 | |
| 850 | #[test] |
| 851 | fn test_add_files_touched_empty() { |
nothing calls this directly
no test coverage detected