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

Function test_parse_trailer_whitespace

atomic-cli/src/commands/git/push.rs:1061–1067  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1059
1060 #[test]
1061 fn test_parse_trailer_whitespace() {
1062 let msg = "msg\n\nAtomic-View: spaced \n";
1063 assert_eq!(
1064 parse_trailer(msg, "Atomic-View"),
1065 Some("spaced".to_string())
1066 );
1067 }
1068
1069 #[test]
1070 fn test_parse_trailer_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected