MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_no_false_positives

Function test_no_false_positives

core/src/security/default.rs:384–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382
383 #[test]
384 fn test_no_false_positives() {
385 let provider = DefaultSecurityProvider::new();
386 let text = "This is a normal sentence without sensitive data.";
387 let matches = provider.detect_sensitive(text);
388 assert_eq!(matches.len(), 0);
389 }
390}

Callers

nothing calls this directly

Calls 1

detect_sensitiveMethod · 0.80

Tested by

no test coverage detected