()
| 350 | |
| 351 | #[test] |
| 352 | fn test_wipe() { |
| 353 | let provider = DefaultSecurityProvider::new(); |
| 354 | provider.taint_input("My SSN is 123-45-6789"); |
| 355 | provider.wipe(); |
| 356 | let tainted = provider.tainted_data.read().unwrap(); |
| 357 | assert_eq!(tainted.len(), 0); |
| 358 | } |
| 359 | |
| 360 | #[test] |
| 361 | fn test_custom_patterns() { |
nothing calls this directly
no test coverage detected