()
| 948 | |
| 949 | #[test] |
| 950 | fn test_revise_builder_chain() { |
| 951 | let revise = Revise::new() |
| 952 | .with_reference("@~2") |
| 953 | .with_message("Updated") |
| 954 | .with_reword(false) |
| 955 | .with_dry_run(true); |
| 956 | |
| 957 | assert_eq!(revise.reference, "@~2"); |
| 958 | assert_eq!(revise.message, Some("Updated".to_string())); |
| 959 | assert!(!revise.reword); |
| 960 | assert!(revise.dry_run); |
| 961 | } |
| 962 | |
| 963 | #[test] |
| 964 | fn test_revise_parse_reference() { |
nothing calls this directly
no test coverage detected