MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / test_wildcard

Function test_wildcard

crates/opencode-util/src/util.rs:326–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324
325 #[test]
326 fn test_wildcard() {
327 assert!(wildcard::matches("*.rs", "main.rs"));
328 assert!(!wildcard::matches("*.rs", "main.ts"));
329 assert!(wildcard::matches_any(&["*.rs", "*.ts"], "main.ts"));
330 }
331
332 #[test]
333 fn test_color() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected