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

Function test_stash_entry_reference_nonzero

atomic-cli/src/commands/stash.rs:578–588  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

576
577 #[test]
578 fn test_stash_entry_reference_nonzero() {
579 let entry = StashEntry {
580 index: 3,
581 view_name: "stash/test".to_string(),
582 source_view: "dev".to_string(),
583 message: "WIP".to_string(),
584 created_at: Utc::now(),
585 };
586
587 assert_eq!(entry.reference(), "stash@{3}");
588 }
589
590 #[test]
591 fn test_stash_entry_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected