()
| 772 | |
| 773 | #[test] |
| 774 | fn test_change_ref_description() { |
| 775 | assert_eq!(ChangeRef::Last.description(), "@"); |
| 776 | assert_eq!(ChangeRef::Relative(1).description(), "@~1"); |
| 777 | assert_eq!(ChangeRef::Relative(5).description(), "@~5"); |
| 778 | assert_eq!( |
| 779 | ChangeRef::Hash("ABC123".to_string()).description(), |
| 780 | "ABC123" |
| 781 | ); |
| 782 | } |
| 783 | |
| 784 | #[test] |
| 785 | fn test_change_ref_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected