MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_options_new

Function test_options_new

atomic-core/src/record/detect.rs:796–807  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected