Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_header_try_build_success
Function
test_header_try_build_success
atomic-core/src/change/header.rs:558–561 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
556
557
#[test]
558
fn test_header_try_build_success() {
559
let result = ChangeHeader::builder().message(
"Valid message"
).try_build();
560
assert!(result.is_ok());
561
}
562
563
#[test]
564
fn test_header_try_build_empty_message() {
Callers
nothing calls this directly
Calls
2
try_build
Method · 0.45
message
Method · 0.45
Tested by
no test coverage detected