()
| 396 | |
| 397 | #[test] |
| 398 | fn test_default_values() { |
| 399 | let opts = WorkflowOptions::default(); |
| 400 | |
| 401 | assert_eq!(opts.algorithm(), Algorithm::Myers); |
| 402 | assert!(opts.check_mtime()); |
| 403 | assert!(opts.detect_moves()); |
| 404 | assert!(opts.detect_encoding()); |
| 405 | assert!(opts.detect_permissions()); |
| 406 | assert!(opts.prefix().is_empty()); |
| 407 | assert_eq!( |
| 408 | opts.max_file_size(), |
| 409 | Some(WorkflowOptions::DEFAULT_MAX_FILE_SIZE) |
| 410 | ); |
| 411 | assert!(!opts.force_rediff()); |
| 412 | assert!(!opts.ignore_missing()); |
| 413 | } |
| 414 | |
| 415 | // Builder Tests |
| 416 |
nothing calls this directly
no outgoing calls
no test coverage detected