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

Function test_builder_chaining

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

Source from the content-addressed store, hash-verified

710
711 #[test]
712 fn test_builder_chaining() {
713 // Ensure all builder methods return Self for chaining
714 let _header = ChangeHeader::builder()
715 .message("Test")
716 .description("Desc")
717 .timestamp(Utc::now())
718 .author(Author::default())
719 .authors(vec![])
720 .build();
721 }
722}

Callers

nothing calls this directly

Calls 6

authorMethod · 0.80
buildMethod · 0.45
authorsMethod · 0.45
timestampMethod · 0.45
descriptionMethod · 0.45
messageMethod · 0.45

Tested by

no test coverage detected