()
| 838 | |
| 839 | #[test] |
| 840 | fn test_revise_builder_chain() { |
| 841 | let revise = Revise::new() |
| 842 | .with_reference("@~2") |
| 843 | .with_message("Updated") |
| 844 | .with_reword(false) |
| 845 | .with_dry_run(true); |
| 846 | |
| 847 | assert_eq!(revise.reference, "@~2"); |
| 848 | assert_eq!(revise.message, Some("Updated".to_string())); |
| 849 | assert!(!revise.reword); |
| 850 | assert!(revise.dry_run); |
| 851 | } |
| 852 | |
| 853 | #[test] |
| 854 | fn test_revise_parse_reference() { |
nothing calls this directly
no test coverage detected