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

Function test_is_url

crates/opencode-session/src/instruction.rs:798–803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

796
797 #[test]
798 fn test_is_url() {
799 assert!(is_url("https://example.com/instructions.md"));
800 assert!(is_url("http://example.com/instructions.md"));
801 assert!(!is_url("/path/to/file.md"));
802 assert!(!is_url("relative/path.md"));
803 }
804}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected