()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected