()
| 786 | |
| 787 | #[test] |
| 788 | fn test_add_files_touched_dedup() { |
| 789 | let mut s = make_session(); |
| 790 | s.add_files_touched(&["a.rs".to_string(), "b.rs".to_string()]); |
| 791 | s.add_files_touched(&["b.rs".to_string(), "c.rs".to_string()]); |
| 792 | assert_eq!(s.files_touched, vec!["a.rs", "b.rs", "c.rs"]); |
| 793 | assert_eq!(s.files_touched_count(), 3); |
| 794 | } |
| 795 | |
| 796 | #[test] |
| 797 | fn test_add_files_touched_empty() { |
nothing calls this directly
no test coverage detected