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

Function test_header_has_description

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

Source from the content-addressed store, hash-verified

574
575 #[test]
576 fn test_header_has_description() {
577 let without = ChangeHeader::new("Test");
578 assert!(!without.has_description());
579
580 let with = ChangeHeader::builder()
581 .message("Test")
582 .description("Details")
583 .build();
584 assert!(with.has_description());
585 }
586
587 #[test]
588 fn test_header_has_authors() {

Callers

nothing calls this directly

Calls 3

buildMethod · 0.45
descriptionMethod · 0.45
messageMethod · 0.45

Tested by

no test coverage detected