MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_upload_change_file_url_format

Function test_upload_change_file_url_format

atomic-remote/src/http/tests.rs:10–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9#[test]
10fn test_upload_change_file_url_format() {
11 // Verify the URL format matches the protocol spec
12 let url = format!(
13 "{}?insert={}&view={}",
14 "https://api.example.com/code", "ABCDEF123456", "dev"
15 );
16 assert!(url.contains("insert=ABCDEF123456"));
17 assert!(url.contains("view=dev"));
18}
19
20#[test]
21fn test_download_change_layers_url_format() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected