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

Function test_header_new

atomic-core/src/change/header.rs:513–518  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511
512 #[test]
513 fn test_header_new() {
514 let header = ChangeHeader::new("Test message");
515 assert_eq!(header.message, "Test message");
516 assert!(header.description.is_none());
517 assert!(header.authors.is_empty());
518 }
519
520 #[test]
521 fn test_header_builder_basic() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected