()
| 11 | |
| 12 | #[test] |
| 13 | fn no_leaks() { |
| 14 | let f = Fixtures::copy("simple"); |
| 15 | let other = f.git.root.path.join(OTHER_REPOSITORY_ID); |
| 16 | fs::create_dir_all(&other).expect("unable create other repo"); |
| 17 | |
| 18 | assert!(f.no_leaks().unwrap()); |
| 19 | |
| 20 | let filename = other.join("file.txt"); |
| 21 | fs::write(filename, WIKI_REPOSITORY_ID).expect("unable to write file"); |
| 22 | |
| 23 | assert!(!f.no_leaks().unwrap()); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | mod delete_account { |
nothing calls this directly
no outgoing calls
no test coverage detected