()
| 863 | |
| 864 | #[test] |
| 865 | fn test_stash_clone() { |
| 866 | let cmd = Stash::new() |
| 867 | .with_message("test") |
| 868 | .with_include_untracked(true); |
| 869 | |
| 870 | let cloned = cmd.clone(); |
| 871 | |
| 872 | assert_eq!(cloned.message, cmd.message); |
| 873 | assert_eq!(cloned.include_untracked, cmd.include_untracked); |
| 874 | assert_eq!(cloned.keep, cmd.keep); |
| 875 | } |
| 876 | |
| 877 | // Subcommand Tests |
| 878 |
nothing calls this directly
no test coverage detected