()
| 794 | |
| 795 | #[test] |
| 796 | fn test_options_new() { |
| 797 | let opts = DetectOptions::new(); |
| 798 | |
| 799 | assert_eq!(opts.algorithm, Algorithm::Myers); |
| 800 | assert!(opts.check_mtime); |
| 801 | assert!(opts.detect_moves); |
| 802 | assert!(opts.detect_encoding_changes); |
| 803 | assert!(opts.detect_permission_changes); |
| 804 | assert!(opts.prefix.is_empty()); |
| 805 | assert_eq!(opts.max_diff_size, Some(10 * 1024 * 1024)); |
| 806 | assert!(!opts.force_rediff); |
| 807 | } |
| 808 | |
| 809 | #[test] |
| 810 | fn test_options_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected