()
| 563 | |
| 564 | #[test] |
| 565 | fn test_stash_entry_reference() { |
| 566 | let entry = StashEntry { |
| 567 | index: 0, |
| 568 | view_name: "stash/test".to_string(), |
| 569 | source_view: "dev".to_string(), |
| 570 | message: "WIP".to_string(), |
| 571 | created_at: Utc::now(), |
| 572 | }; |
| 573 | |
| 574 | assert_eq!(entry.reference(), "stash@{0}"); |
| 575 | } |
| 576 | |
| 577 | #[test] |
| 578 | fn test_stash_entry_reference_nonzero() { |
nothing calls this directly
no outgoing calls
no test coverage detected